Skip to Content.
Sympa Menu

xom-interest - Re: [XOM-interest] getElementById (not again.... I know, but..)

xom-interest AT lists.ibiblio.org

Subject: XOM API for Processing XML with Java

List archive

Chronological Thread  
  • From: Tatu Saloranta <cowtowncoder AT yahoo.com>
  • To: xom-interest <xom-interest AT lists.ibiblio.org>
  • Subject: Re: [XOM-interest] getElementById (not again.... I know, but..)
  • Date: Mon, 9 Oct 2006 11:33:03 -0700 (PDT)

--- John Cowan <cowan AT ccil.org> wrote:

> Tatu Saloranta scripsit:
>
> > This is my understanding as well (with addition of
> > RelaxNG schema info).
>
> RELAX NG doesn't alter the infoset, so declaring
> something to
> be of type xsd:ID just means that it has to meet the
> constraints
> (an XML name unique among all other IDs). It
> doesn't make it
> an ID as such.

Hmmh. Interesting. I hadn't thought that through then.
I stand corrected (plus I learnt something new today,
which is great).

So whereas DTD and W3C Schema can inject more info in
Infoset, RNG is only focused on validation aspects?
That does separate concerns, although leaves bit of a
hole, in the sense that one then still needs to use
DTD/Schema for typing attributes.
But then again, one can use Xml:id to solve this
particular problem, and other xml specifications for
other respective problems (XLink, XPointer and so on).
Maybe it all makes sense, in the end. ;-)

-+ Tatu +-


__________________________________________________
Do You Yahoo!?
Tired of spam? Yahoo! Mail has the best spam protection around
http://mail.yahoo.com




Archive powered by MHonArc 2.6.24.

Top of Page