Re: Moving on (was Re: URIs quack like a duck)

At 11:41 AM 6/2/00 -0400, John Cowan wrote:
>David Carlisle wrote:
>
>> If it just does this, and doesn't actually forbid them then it has to
>> answer the question `what is the namespace name of the element marked
>> up as <x xmlns="x"/>' otherwise this whole discussion has failed.
>
>In particular, the Infoset can't waffle: it *has* to return one or
>the other or both, which is why I have been plowing the stream and
>sowing dragon's teeth hereabouts.

Perhaps the Infoset should define what level of XML processing it
represents, and provide enough information (like base URI of elements
pulled from external entities) for layers above that to do their own work.  

Right now, it appears to represent post-DTD parser output with some level
of namespace awareness.  It doesn't specify much about processing, however,
seeming to think that its representation of document structures is somehow
independent of such processing.

(And non-validating parsers and validating parsers seem capable of
legitimately returning different Infoset information from the same document
- something acknowledged in 2.5, but which feels pretty odd otherwise.)


Simon St.Laurent
XML Elements of Style / XML: A Primer, 2nd Ed.
Building XML Applications
Inside XML DTDs: Scientific and Technical
Cookies / Sharing Bandwidth
http://www.simonstl.com

Received on Friday, 2 June 2000 11:55:52 UTC