-
Notifications
You must be signed in to change notification settings - Fork 35
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add support to validate XML against XSD 1.1 #110
Comments
@mkordas but we're not using any specific parser. we're just using JDK. parser is provided in runtime. or I didn't get the problem? |
@yegor256 you are right! Do you think it is in scope of integration test, Javadoc or http://xml.jcabi.com/example-xsd.html to provide instruction how to enable XSD 1.1 parsing? |
@mkordas yes, let's document it |
@mkordas thanks a lot for reporting, 15 mins added to your acc, pmt ID |
@yegor256 actually I've realized that we may have to modify line https://github.com/jcabi/jcabi-xml/blob/master/src/main/java/com/jcabi/xml/XSDDocument.java#L158. We should set it to |
@yegor256 can we proceed here? |
@yegor256 could you please respond to messages above? |
@yegor256 ping :) |
@yegor256 please, proceed here :) |
@dmarkov pls assign @westonized to this ticket |
@westonized any progress so far? |
Currently method
com.jcabi.xml.XSDDocument#validate
uses XSD 1.0 parser. XSD 1.1 has couple of new features added, like possibility to require exactly one attribute out of two that will be useful in other Teamed projects.I'd expect just to replace 1.0 parser with 1.1, as version 1.1 is just superset of 1.0.
The text was updated successfully, but these errors were encountered: