- From: Elliotte Harold <elharo@metalab.unc.edu>
- Date: Fri, 04 Jun 2004 11:42:05 -0400
- To: www-xml-xinclude-comments@w3.org
NIST test case 52 is supposed to succeed but contains an error that
prevents this. It is currently:
<x xmlns:xinclude="http://www.w3.org/2001/XInclude">
<!-- Test an include location identifying a processing instruction.
In this case
the set of top level included items consist of the
information item corresponding to the processing node in the
acquired infoset. -->
<xinclude:include href="../ents/getnodes.xml"
xpointer="//processing-instruction()"/>
</x>
It is missing the xpointer() scheme in the xpointer attribute. In other
words it just contains an XPath expression, not an actual XPointer. It
should be
<x xmlns:xinclude="http://www.w3.org/2001/XInclude">
<!-- Test an include location identifying a processing instruction.
In this case
the set of top level included items consist of the
information item corresponding to the processing node in the
acquired infoset. -->
<xinclude:include href="../ents/getnodes.xml"
xpointer="xpointer(//processing-instruction())"/>
</x>
--
Elliotte Rusty Harold
Received on Friday, 4 June 2004 11:42:22 UTC