Uploaded image for project: 'XMLBeans'
  1. XMLBeans
  2. XMLBEANS-55

resolving transitive <redefine>'d types...

    XMLWordPrintableJSON

    Details

      Description

      Attempting to compile w3c voicexml 2.0 or 2.1 schema.

      The voicexml schema borrows from speech synthesis schemas, extending/restricting types using lots of <xsd:include> and <xsd:redefine>...

      vxml.xsd INCLUDES --> vxml-synthesis-extension.xsd REDEFINES --> vxml-synthesis-restriction.xsd REDEFINES --> synthesis-core.xsd

      schema compiler reports...

      [xmlbean] schemas/vxml-2.1/vxml-synthesis-extension.xsd:30: error: Redefined complex type say-as not found in vxml-synthesis-restriction.xsd

      ...intuitively correct, since vxml-synthesis-restriction.xsd doesn't explicitly refer to the "say-as" type. However...

      <from http://www.w3.org/TR/xmlschema-0/#Redefine>

      " The redefine element acts very much like the include element as it includes all the declarations and definitions from the address.xsd file."

      ...so the "say-as" type should be resolvable as it "propegates" with each <redefine> from synthesis-core.xsd to vxml-synthesis-extension.xsd (via vxml-synthesis-restriction.xsd).

      ...relevant schemas available at:

      http://www.w3.org/TR/2004/WD-voicexml21-20040728/#sec-schema

      thx, keep up the good work.

      JF

        Attachments

          Activity

            People

            • Assignee:
              Unassigned
              Reporter:
              johnatcgi John Francis
            • Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: