Uploaded image for project: 'XmlSchema'
  1. XmlSchema
  2. XMLSCHEMA-36

XML Schema Walker and XML Document Path Finder

    XMLWordPrintableJSON

Details

    • New Feature
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • None
    • 2.2.0

    Description

      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.

      Attachments

        1. diff_xmlschema_walker.zip
          76 kB
          Michael Pigott
        2. xmlschema_36_noresolver.zip
          75 kB
          Michael Pigott
        3. xmlschema_36_pathfindertests.zip
          80 kB
          Michael Pigott
        4. xmlschema_36_statemachinetests.zip
          82 kB
          Michael Pigott

        Issue Links

          Activity

            People

              dkulp Daniel Kulp
              rpimike1022 Michael Pigott
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: