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

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 UTC