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

XmlSchemaComplexType.getBaseSchemaTypeName() returns null

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • 2.1.0
    • 2.1.1
    • Win 7 x64, JDK 7.05

    Description

      The method getBaseSchemaTypeName() only considers XmlSchemaComplexContentExtension to get a base type name while a complex type definition may be either
      a restriction of a complex ·base type definition·,
      an ·extension· of a simple or complex ·base type definition·.

      Note, that there is a ComplexContentRestrictionTest, which gets a baseTypeName from the content model.

      Attachments

        1. ComplexContentRestrictionTest.patch
          1 kB
          Dmitri Repchevsky
        2. XmlSchemaComplexType.patch
          1 kB
          Dmitri Repchevsky

        Activity

          People

            dkulp Daniel Kulp
            redmitry Dmitri Repchevsky
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Time Tracking

                Estimated:
                Original Estimate - 10m
                10m
                Remaining:
                Remaining Estimate - 10m
                10m
                Logged:
                Time Spent - Not Specified
                Not Specified