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=4272>. 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=4272 Validation checks for components that were omitted in a derivation by restriction Summary: Validation checks for components that were omitted in a derivation by restriction Product: Xerces-J Version: 1.4.3 Platform: PC OS/Version: Windows NT/2K Status: NEW Severity: Normal Priority: Other Component: Schema-Structures AssignedTo: [EMAIL PROTECTED] ReportedBy: [EMAIL PROTECTED] Xerces-J returns a validation error message during the validation of cambridge.xml (see attachment): [Error] cambridge.xml:16:21: Attribute "type" is required and must be specified for element type "centerLineOf". <centerLineOf> is an element of type "LineStringPropertyType", which is derived by restriction from "GeometryPropertyType", which includes the attributeGroup "gml:AssociationAttributeGroup" where "xlink:type" is an indirect member. "xlink:type" is declared as required in xlinks.xsd. However, in the derivation by restriction, the "gml:AssociationAttributeGroup" component is omitted. According to "http://www.w3.org/TR/xmlschema- 0/#restrictsTable", omitting a component's declaration from the restricted type definition will exclude it from the definition of "LineStringPropertyType". Version number of Xerces-J: 1.4.3 Version number of JDK: 1.3 XML file that causes the bug: cambridge.xml Schema files: cambridge.xsd, feature.xsd, geometry.xsd, SimpleGML.xsd, xlinks.xsd. For repro, run the following command: java -cp <your_classpath_to_xerces.jar_and_xercesSamples.jar> dom.DOMCount -v cambridge.xml feature-workaround.xsd contains a workaround for this issue. --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
