[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [xml-dev] annotations outside validation
On Tue, 2001-11-13 at 08:45, Eric van der Vlist wrote:
> > Does a comment apply to the following element, the one containing it,
> > the document as a whole, or none of the above? The same issues apply to
> > processing instructions used that way.
>
> It may be missing in XML 1.0, but XPath and XML Infoset seem both clear
> (and consistant) on this point...
>
> http://www.w3.org/TR/xpath#data-model
>
> http://www.w3.org/TR/xml-infoset/#infoitem.element
>
> I think that it's their "out of band" and fuzzy style which
> is both their major quality and their major strenght!
That's pretty fuzzy - while it's clear that elements contain PIs and
comments, it doesn't necessarily follow that comments or PIs apply in
any particular way to their parent container.
But like you say, that's also a strength.
--
Simon St.Laurent
"Every day, in every way, I'm getting better and better." - Emile Coue