Re: Error in the RDF/XML Syntax Specification

>>>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

http://lists.w3.org/Archives/Public/www-rdf-comments/2002JanMar/0019.html

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.

<snip/>

> 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)
  http://www.w3.org/TR/2001/WD-query-datamodel-20011220/

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
     http://www.w3.org/TR/2001/WD-query-datamodel-20011220/#d2e4846

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.

Dave

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