[ 
https://issues.apache.org/jira/browse/XERCESJ-1414?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12804361#action_12804361
 ] 

Mukul Gandhi commented on XERCESJ-1414:
---------------------------------------

Hi Michael,
   When I given an option -l http://www.w3.org/2001/XMLSchema/v1.1 to 
jaxp.SourceValidator, I get an error message, "illegal argument".

It seems this URL is correct, for XSD 1.1. But we do not set the Schema 
factory, for XSD 1.1. Which I was doing with, System.setProperty().

Is using the new commons library the right way to solve this?

I leave the solution for this to you. If you want me to do something, please 
let me know.

Regards,
Mukul

> 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
>             Fix For: 2.10.0
>
>
> 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]

Reply via email to