W3C home > Mailing lists > Public > www-tag@w3.org > February 2002

Re: Slight architectural discrepancy between XMl 1.0 & the infoset

From: Dan Connolly <connolly@w3.org>
Date: 02 Feb 2002 16:14:20 -0600
To: Tim Bray <tbray@textuality.com>
Cc: www-tag@w3.org, XML Infoset Comments <www-xml-infoset-comments@w3.org>
Message-Id: <1012688061.1708.10.camel@dirk>
On Fri, 2002-02-01 at 13:36, Tim Bray wrote:
> The infoset recommendation is slightly inconsistent with the XML 
> recommendation, in that the infoset rec says "There is a comment information 
> item for each XML comment in the original document, except for those 
> appearing in the DTD (which are not represented)."  while the XML 
> recommendation says "an XML processor may, but need not, make it 
> possible for an application to retrieve the text of comments.".
> 
> This seems serious to me, the infoset seems to be requiring 
> behavior of software which a reasonable reader of the XML 1.0
> would not expect. -Tim

The comment is there whether the software reports it or not.

There's lots of stuff in the infoset that processors
aren't required to report.

I don't see this as a problem.

"The XML Information Set does not require or favor a specific interface
or class of interfaces. This specification presents the information set
as a modified tree for the sake of clarity and simplicity, but there is
no requirement that the XML Information Set be made available through a
tree structure; other types of interfaces, including (but not limited
to) event-based and query-based interfaces, are also capable of
providing information conforming to the XML Information Set."
	-- http://www.w3.org/TR/2001/REC-xml-infoset-20011024/


-- 
Dan Connolly, W3C http://www.w3.org/People/Connolly/
Received on Saturday, 2 February 2002 17:14:22 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Thursday, 26 April 2012 12:47:04 GMT