You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@ws.apache.org by "Daniel Kulp (JIRA)" <ji...@apache.org> on 2014/09/08 22:18:29 UTC

[jira] [Commented] (XMLSCHEMA-36) XML Schema Walker and XML Document Path Finder

    [ https://issues.apache.org/jira/browse/XMLSCHEMA-36?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14126026#comment-14126026 ] 

Daniel Kulp commented on XMLSCHEMA-36:
--------------------------------------

Just a couple comments for my notes from review:   this requires a JAXB api jar.   With java6+, that's available from the JRE.   For java 5 (which xmlschema still supports), we need to add a dep to the pom.

This doesn't depend on XMLSchema-35.   Those lines in the tests can be removed and all the tests still 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
>
>
> 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: dev-unsubscribe@ws.apache.org
For additional commands, e-mail: dev-help@ws.apache.org