[
https://issues.apache.org/jira/browse/XERCESJ-1414?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12804365#action_12804365
]
Michael Glavassevich commented on XERCESJ-1414:
-----------------------------------------------
Works for me. Turning on -Djaxp.debug=true I see:
JAXP: using thread context class loader
(sun.misc.launcher$appclassloa...@581fc83a) for search
JAXP: Looking up system property
'javax.xml.validation.SchemaFactory:http://www.w3.org/XML/XMLSchema/v1.1'
JAXP: The property is undefined.
JAXP: found null in $java.home/jaxp.properties
JAXP: no META-INF/services/javax.xml.validation.SchemaFactory file was found
JAXP: attempting to use the platform default XML Schema 1.1 validator
JAXP: instanciating org.apache.xerces.jaxp.validation.XMLSchema11Factory
JAXP: loaded it from
file:/D:/eclipse3.4.1/workspace/xerces-java-xml-schema-1.1-dev/bin/org/apache/xerces/jaxp/validation/XMLSchema11Factory.class
JAXP: factory 'org.apache.xerces.jaxp.validation.XMLSchema11Factory' was found
for http://www.w3.org/XML/XMLSchema/v1.1
Try putting xml-apis.jar in the endorsed directory of your JDK.
> Enhancing the jaxp.SourceValidator sample, to support XSD 1.1 language
> ----------------------------------------------------------------------
>
> Key: XERCESJ-1414
> URL: https://issues.apache.org/jira/browse/XERCESJ-1414
> Project: Xerces2-J
> Issue Type: New Feature
> Components: Samples
> Affects Versions: 2.9.1
> Reporter: Mukul Gandhi
> Assignee: Mukul Gandhi
>
> The jaxp.SourceValidator sample, currently doesn't support XSD 1.1
> validation. I'm providing an enhancement for this.
> I'll be committing the changes for this shortly.
> If an option, -xsd11 is provided to this sample, Xerces validates the input
> document in XSD 1.1 mode. Otherwise, the XML document is validated in XSD 1.0
> mode.
> Kindly review this change, and let me know if anything is wrong.
> Regards,
> Mukul
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]