[
https://issues.apache.org/jira/browse/XMLSCHEMA-36?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Michael Pigott updated XMLSCHEMA-36:
------------------------------------
Attachment: xmlschema_36_noresolver.zip
While the main code does not rely on XmlSchemaMultiBaseResolver, the tests did.
xmlschema_36_noresolver.zip contains the change that removes the
XmlSchemaMultiBaseResolver dependency.
I also ported the code to Java 5, which meant changing all String.isEmpty()
calls to String.length() == 0.
All tests pass.
> XML Schema Walker and XML Document Path Finder
> ----------------------------------------------
>
> Key: XMLSCHEMA-36
> URL: https://issues.apache.org/jira/browse/XMLSCHEMA-36
> Project: XmlSchema
> Issue Type: New Feature
> Reporter: Michael Pigott
> Labels: PatchAvailable
> Attachments: diff_xmlschema_walker.zip, xmlschema_36_noresolver.zip
>
>
> As part of AVRO-457, I wrote code to walk an XmlSchema and build a state
> machine from it. With that state machine one can walk through an XML
> Document and find a path through the state machine that validates the XML
> Document.
> I believe this code better lives in the Apache XML Schema project, so it can
> be available to others not using Avro.
> I only made minor changes to the existing code, so there are a lot of
> references to Avro in the tests. Please let me know if this is an issue.
> This code depends on XMLSCHEMA-34 and XML-SCHEMA-35.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]