Seems to me, that this should pass schema validation, where
xmlns:xi=''http://www.w3.org/2001/XInclude"
<xi:include xi:href="some.xml"/>
Instead, xerces-j 2.9.0 schema validation gives:
'xpointer attribute must be present when href attribute is absent.'
This passes schema validation, but its not valid against the xinclude
schema.
<xi:include href="some.xml"/>
I'm running xerces schema validation from ant 1.7 using schemavalidation
task. Here are attributes:
<attribute name="http://apache.org/xml/features/xinclude" value="true"
/>
<attribute
name="http://apache.org/xml/features/xinclude/fixup-base-uris"
value="false"/>
<attribute name="http://xml.org/sax/features/validation" value="true"
/>
I'm using java 1.5
--
View this message in context:
http://www.nabble.com/xinclude%3A-xpointer-needed-when-href-absent-tf2928284.html#a8186684
Sent from the Xerces - J - Users mailing list archive at Nabble.com.
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]