You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@ws.apache.org by "Dmitry Repchevsky (JIRA)" <ji...@apache.org> on 2014/05/13 15:06:16 UTC

[jira] [Commented] (XMLSCHEMA-32) XmlSchemaComplexType.getBaseSchemaTypeName() returns null

    [ 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: dev-unsubscribe@ws.apache.org
For additional commands, e-mail: dev-help@ws.apache.org