[ 
https://issues.apache.org/jira/browse/XMLSCHEMA-32?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Dmitry Repchevsky updated XMLSCHEMA-32:
---------------------------------------

    Attachment: XmlSchemaComplexType.patch
                ComplexContentRestrictionTest.patch

The patch for the getBaseSchemaTypeName() method and 
for the ComplexContentRestrictionTest to add an assertion.

> XmlSchemaComplexType.getBaseSchemaTypeName() returns null
> ---------------------------------------------------------
>
>                 Key: XMLSCHEMA-32
>                 URL: https://issues.apache.org/jira/browse/XMLSCHEMA-32
>             Project: XmlSchema
>          Issue Type: Bug
>    Affects Versions: 2.1.0
>         Environment: Win 7 x64, JDK 7.05
>            Reporter: Dmitry Repchevsky
>              Labels: patch
>         Attachments: ComplexContentRestrictionTest.patch, 
> XmlSchemaComplexType.patch
>
>   Original Estimate: 10m
>  Remaining Estimate: 10m
>
> 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.



--
This message was sent by Atlassian JIRA
(v6.2#6252)

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to