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=5788>. 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=5788 Attribute wildcard error reported Summary: Attribute wildcard error reported Product: Xerces2-J Version: 2.0.0 [beta 4] Platform: PC URL: http://http:// OS/Version: Windows NT/2K Status: NEW Severity: Minor Priority: Other Component: XML Schema Structures AssignedTo: [EMAIL PROTECTED] ReportedBy: [EMAIL PROTECTED] Xerces reports the following error: [Error] ToonWorldProcessPurchaseOrder.xml:57:42: cvc-complex-type.3.2.2: Attribute 'qualifyingAgency' is not valid respect to the attribute wildcard of Elment 'AddressId' when a particular element derives its type by extension: <xs:element name="AddressId" minOccurs="0" maxOccurs="unbounded"> <xs:complexType> <xs:simpleContent> <xs:extension base="AddressId"/> </xs:simpleContent> </xs:complexType> </xs:element> but the error goes away when that type is merely referenced: <xs:element name="AddressId" type="AddressId" minOccurs="0" maxOccurs="unbounded"> Does this problem arise due to the attempt to derive by extension, or does it look legit? Note that there is nothing there that actually extends the type AddressId � the derivation by extension is there only as the result of inadvertently setting XML Spy's derivedBy to extension (that one gesture transforms the source from the latter to the former). FYI, the AddressId type is defined as: <xs:complexType name="AddressId"> <xs:simpleContent> <xs:extension base="xs:string"> <xs:attribute name="qualifyingAgency" type="AddressQualifyingAgency"/> <xs:attribute name="qualifyingAgencyOther" type="xs:string"/> </xs:extension> </xs:simpleContent> </xs:complexType> Thanks, Mark --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
