Skip to Content.
Sympa Menu

xom-interest - Re: [XOM-interest] Namespaces and attributes

xom-interest AT lists.ibiblio.org

Subject: XOM API for Processing XML with Java

List archive

Chronological Thread  
  • From: John Cowan <cowan AT mercury.ccil.org>
  • To: Nils_Kilden-Pedersen AT Countrywide.Com
  • Cc: xom-interest AT lists.ibiblio.org
  • Subject: Re: [XOM-interest] Namespaces and attributes
  • Date: Tue, 25 Nov 2003 21:25:25 -0500

Nils_Kilden-Pedersen AT Countrywide.Com scripsit:

> > Hmmm, I wonder if there's an inexpensive way I could test this on
> > getAttributevalue (and many similar calls) to warn the user what
> > they're doing wrong at least some of the time.
>
> An attribute name cannot contain '/'. A URI doesn't have to contain this
> either, but mostly do.

I think ':' would be a better indicator: all absolute URIs have to have ':'
in them, and no attribute name can.

--
John Cowan jcowan AT reutershealth.com www.ccil.org/~cowan
www.reutershealth.com
"In computer science, we stand on each other's feet."
--Brian K. Reid




Archive powered by MHonArc 2.6.24.

Top of Page