[
https://issues.apache.org/jira/browse/XERCESJ-1414?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12804896#action_12804896
]
Michael Glavassevich commented on XERCESJ-1414:
-----------------------------------------------
Hi Mukul,
I noticed in the most recent commit a dependency to
org.apache.xerces.impl.Constants was introduced. Many users learn correct usage
of the JAXP API from these samples. We certainly don't want them to start
forming bad habits of relying on Xerces' internals and have been careful to
keep these samples such that they can always compile with the JAXP API alone. I
fixed this by inlining the value of the constant into the sample.
Otherwise the changes looked good.
Thanks.
> 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]