[ 
https://issues.apache.org/jira/browse/WSCOMMONS-559?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12912659#action_12912659
 ] 

Andreas Veithen commented on WSCOMMONS-559:
-------------------------------------------

This change causes a build failure in Axis2:

/Users/veithen/dev/maven/axis/axis2/modules/kernel/src/org/apache/axis2/description/java2wsdl/DefaultSchemaGenerator.java:[500,20]
 cannot find symbol
symbol  : constructor XmlSchemaComplexContentExtension()
location: class org.apache.ws.commons.schema.XmlSchemaComplexContentExtension

The reason is that the XmlSchemaComplexContentExtension constructor now 
requires a schema as argument. I'm not very familiar with XmlSchema, but it 
seems to me that the constructor of XmlSchemaComplexContentExtension is part of 
the public API. Thus, its signature should not be changed for a minor release.

> Utils to ease use of XmlSchema in determining instance attribute types
> ----------------------------------------------------------------------
>
>                 Key: WSCOMMONS-559
>                 URL: https://issues.apache.org/jira/browse/WSCOMMONS-559
>             Project: WS-Commons
>          Issue Type: Improvement
>          Components: XmlSchema
>    Affects Versions: XmlSchema 1.4.6
>            Reporter: Chris Hubick
>            Assignee: Benson Margulies
>             Fix For: XmlSchema 1.4.7
>
>         Attachments: xmlschema_attr_primitive_type.patch, 
> xmlschema_attr_root_type.patch
>
>
> I found it rather difficult to use the XmlSchema library to determine which 
> element attributes from instance documents are derived from the "anyURI" 
> primitive type.
> Some additional utility methods would make this substantially easier:
> - XmlSchemaComplexType.getAttribute(QName) returns XmlSchemaAttribute
> - XmlSchemaSimpleType.getRootTypeName() returns QName

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.

Reply via email to