W3C home > Mailing lists > Public > public-grddl-wg@w3.org > June 2007

Proposal 2c (minimal parsing) to address the ambiguity issue

From: Booth, David (HP Software - Boston) <dbooth@hp.com>
Date: Tue, 26 Jun 2007 02:02:04 -0400
Message-ID: <EBBD956B8A9002479B0C9CE9FE14A6C202D33526@tayexc19.americas.cpqcorp.net>
To: <public-grddl-wg@w3.org>

This supercedes proposal 2b.  It is the same except that the wording is
slightly improved and parts related to defining the notion of "complete
GRDDL results" have been eliminated.

This extends proposal #1c to further stipulate that the determination of
what GRDDL transformations to apply is based only on the XPath node tree
that would result from minimal, non-validating parsing, thus eliminating
dependencies on external entity processing, external schema processing,
etc.

PROPOSAL #2c: In the following existing normative text:
http://www.w3.org/2004/01/rdxh/spec#rule_result 
[[
If an information resource([WEBARCH], section 2.2) IR is represented by
an XML document with an XPath root node R, and R has a GRDDL
transformation with a transformation property TP, and TP applied to R
gives an RDF Graph[RDFC04] G, then G is a GRDDL result of IR.
]]
change "XML document" to "XML document D"
and "TP applied to R" to "TP applied to D"
and insert the following clause after the words "XPath root node R,":
[[
and N is the root node of an XPath node tree T that would be obtained if
D were parsed using only the minimum processing required of a
non-validating parser[XML] to produce T corresponding to D,  
]]
With these changes applied, the resulting normative text would read:
[[
If an information resource([WEBARCH], section 2.2) IR is represented by
an XML document D with an XPath root node R, and N is the root node of
an XPath node tree T that would be obtained if D were parsed using only
the minimum processing required of a non-validating parser[XML] to
produce T corresponding to D, and R has a GRDDL
transformation with a transformation property TP, and TP applied to D
gives an RDF Graph[RDFC04] G, then G is a GRDDL result of IR.
]]
And make corresponding changes to the informative text in section 6 and
elsewhere as needed.  In particular, the informative text should explain
that the step of transformation determination does not depend on the
processing of external DTDs, external schemas or XInclude expansion.

ANALYSIS: 

 - This change more fully addresses the ambiguity issue.

 - This change also does not require any changes to the test cases.


David Booth, Ph.D.
HP Software
+1 617 629 8881 office  |  dbooth@hp.com
http://www.hp.com/go/software

Opinions expressed herein are those of the author and do not represent
the official views of HP unless explicitly stated otherwise.
Received on Tuesday, 26 June 2007 06:02:35 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Tuesday, 8 January 2008 14:11:50 GMT