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

Dmitry Repchevsky commented on XMLSCHEMA-32:
--------------------------------------------

It would be also nice to include
public QName getBaseTypeName() method 
in the XmlSchemaContent class...

> 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