DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG 
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://nagoya.apache.org/bugzilla/show_bug.cgi?id=16973>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND 
INSERTED IN THE BUG DATABASE.

http://nagoya.apache.org/bugzilla/show_bug.cgi?id=16973

Namespace URI and local name of attributeGroup are not set

           Summary: Namespace URI and local name of attributeGroup are not
                    set
           Product: Xerces2-J
           Version: 2.3.0
          Platform: All
        OS/Version: All
            Status: NEW
          Severity: Normal
          Priority: Other
         Component: XML Schema Structures
        AssignedTo: [EMAIL PROTECTED]
        ReportedBy: [EMAIL PROTECTED]


A complex type references a global attributeGroup. The following snippet of 
code retrieves the attribute group reference from the complex type:

XSComplexTypeDecl complexType = (XSComplexTypeDecl) type;
XSAttributeGroupDefinition attributeGroupDefinition = complexType.getAttrGrp();

However, the retrieved attribute group definition has neither namespace URI nor 
local name (they're null). This information is important because the presence 
of a specific attribute group conveys some meaning. The work-around is to go 
through attribute members to figure out what attribute group it is, but I don't 
see any reason why the name is not preserved.

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

Reply via email to