FW: Proposal 2d (minimal parsing) to address the ambiguity issue

In response to Chimezie's question about the need to clearly define the
notion of "minimal parsing", I've tweaked the wording of proposal 2c to
be clearer by using the term "non-validating processor", which is the
exact term used in the XML spec, and referencing the appropriate section
of that spec.  Proposal 2d thus supercedes 2c.

Note also that this does not actually require the GRDDL-aware agent to
use a non-validating processor -- it merely requires the XPath node tree
that is used in the transformation determination step be *as if* it were
produced by a non-validating parser.
                 
                         ----

This proposal 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
processor, thus eliminating dependencies on external entity processing,
external schema processing, etc.

PROPOSAL #2d: 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 processing required of a non-validating
processor[XML](section 5.1) 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 processing required of a non-validating processor[XML](section 5.1)
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 20:04:07 UTC