W3C home > Mailing lists > Public > www-rdf-comments@w3.org > January to March 2002

Re: Error in the RDF/XML Syntax Specification

From: Dave Beckett <dave.beckett@bristol.ac.uk>
Date: Tue, 22 Jan 2002 12:04:30 +0000
To: Sjoerd Visscher <sjoerd@q42.nl>
cc: www-rdf-comments@w3.org
Message-ID: <5161.1011701070@tatooine.ilrt.bris.ac.uk>
>>>Sjoerd Visscher said:
> As I wrote in my post last month
> http://lists.w3.org/Archives/Public/www-rdf-comments/2001OctDec/0391.html

I've replied to the comments you made there just today


so I'll edit out some of your comments here that I answered there.

> I found out that PI's and comments weren't allowed in RDF/XML syntax. I
> thought that might be a problem with my translation, but I'm now quite
> confident that it's not allowed either with the current working draft.

See above.


> It is possible to fix the spec to make it clear that PI's and comments
> are allowed in RDF ...

I propose to do that

> ... . But I think it would be a better idea to put the XML
> Core Working Group to work. They should specify how to 'filter out'
> information items and properties that you are not interested in, f.e.
> how this affects properties like [children]. This can then be used for
> all kinds of specs, not just RDF, that use a 'subset' of the Infoset,
> while the right procedure for 'subsetting' is never defined. (SGML's
> groves had this through grove-plans)

Other specifications such as the

  XQuery 1.0 and XPath 2.0 Data Model (Working Draft 20 December 2001)

define their Infoset filtering operation simply:

  "Other information items and properties made available by the
  Infoset processor are ignored."
  -- Appendix A: XML Information Set Conformance

So I think if I add some similar note about other items, that should
be OK. I don't think we need to invent a new genreal mechanism for
filtering Infoset items (SAX events) just now.

> Then you can define how RDF filters out PI's and comments, and even
> whitespace. Then "ws* (nodeElement ws* )*" can become simply
> "nodeElement*"; whitespace is filtered out.

That particular example is not something we can do in the existing
RDF/XML some whitespace is significant, some isn't.  The choice is
depends on where you are in the grammar.

Received on Tuesday, 22 January 2002 07:04:32 UTC

This archive was generated by hypermail 2.4.0 : Friday, 17 January 2020 22:43:59 UTC