Grokbase Groups Ant user May 2016
Hello list,

I'm trying to enable XInclude processing in the schemavalidate task:

         noNamespaceFile="${user.input.xsd}" file="${user.input.xml}">
       <attribute name="" value="true"/>

This does not work, as I'm still getting an error when the task is executed: "foo.xsd:8:136: s4s-elt-schema-ns: The namespace of element 'include' must be from the schema namespace, ''."

The corresponding schema file looks like this:

   <xs:schema xmlns:xs="" xmlns:xi="">
     <xi:include href="..." xpointer="xmlns(xs=*)"/>

When enabling Ant debug mode, I can see that the feature is correctly set on the parser:

[schemavalidate] Using SAX2 reader org.apache.xerces.jaxp.SAXParserImpl$JAXPSAXParser
[schemavalidate] Setting feature
[schemavalidate] Setting feature
[schemavalidate] Setting feature
[schemavalidate] Setting feature
[schemavalidate] Setting feature
[schemavalidate] Validating foo.xml...

What am I missing? Or is this not supported?

Thanks for any help,

To unsubscribe, e-mail:
For additional commands, e-mail:

Search Discussions

Related Discussions

Discussion Navigation
viewthread | post
posts ‹ prev | 1 of 1 | next ›
Discussion Overview
groupuser @
postedMay 24, '16 at 11:53a
activeMay 24, '16 at 11:53a

1 user in discussion

SCHOEPFLIN Markus: 1 post



site design / logo © 2019 Grokbase