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=18063>.
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=18063

References to attributeGroup/group definition are not allowed to have annotations

           Summary: References to attributeGroup/group definition are not
                    allowed to have annotations
           Product: Xerces-C++
           Version: 2.2.0
          Platform: PC
        OS/Version: Windows XP
            Status: NEW
          Severity: Normal
          Priority: Other
         Component: Validating Parser (Schema) (Xerces 1.5 or up only)
        AssignedTo: [EMAIL PROTECTED]
        ReportedBy: [EMAIL PROTECTED]


Trying to validate an XML file against an XML Schema having this fragment 
fails:

<xs:attributeGroup ref="PaymentCardDateGroup">
    <xs:annotation>
       <xs:documentation xml:lang="en">yada yada yada</xs:documentation>
    </xs:annotation>
</xs:attributeGroup>

with the error "A <attributeGroup> declaration that has a ref attribute, 
cannot have child content"; but the specs specify that both "attributeGroup" 
and "group", when used with the "ref" attribute, can have annotations as 
children.

A patch to fix this bug could be the one attached (created against the current 
CVS head)

Alberto

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

Reply via email to