Non-native attributes (extensions) of simpleType and complexType not added to 
metaInfoMap
-----------------------------------------------------------------------------------------

                 Key: WSCOMMONS-112
                 URL: http://issues.apache.org/jira/browse/WSCOMMONS-112
             Project: WS-Commons
          Issue Type: Bug
          Components: XmlSchema
            Reporter: Martin Ahrer


The SchemaBuilder.handleSimpleType and SchemaBuilder.handleComplexType methods 
do not properly call the processExtensibilityComponents method(). They add the 
attribute extensions of the schema element itself rather than the attribute 
extensions of the complex element and the simple element

SchemaBuilder.handleComplexType  should call 
processExtensibilityComponents(ct,complexEl); rather than  
processExtensibilityComponents(ct,schemaEl);

SchemaBuilder.handleSimpleType should call 
processExtensibilityComponents(ct,simpleEl); rather than  
processExtensibilityComponents(ct,schemaEl);

ok just figured out one more ...

SchemaBuilder.handleInclude should call 
processExtensibilityComponents(ct,includeEl); rather than  
processExtensibilityComponents(ct,schemaEl);

looks like a copy paste problem:)

regards
 Martin


-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: 
http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to