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=11421>. 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=11421 Identical targetNamespace giving error Summary: Identical targetNamespace giving error Product: Xerces2-J Version: 2.0.2 Platform: Sun OS/Version: Solaris Status: NEW Severity: Normal Priority: Other Component: XML Schema Structures AssignedTo: [EMAIL PROTECTED] ReportedBy: [EMAIL PROTECTED] CC: [EMAIL PROTECTED] I downloaded the xhmtl1.1 schema http://www.w3.org/TR/xhtml-m12n-schema/xhtml-m12n-schema.tgz Set up a builder as follows: DOMImplementationAS domImpl = (DOMImplementationAS)ASDOMImplementationImpl.getDO MImplementation(); DOMASBuilder parser = domImpl.createDOMASBuilder(); parser.setErrorHandler(this); parser.setFeature(NAMESPACES_FEATURE_ID, true); parser.setFeature(VALIDATION_FEATURE_ID, true); parser.setFeature(SCHEMA_VALIDATION_FEATURE_ID, true); parser.setFeature(SCHEMA_FULL_CHECKING_FEATURE_ID, false); ASModel asmodel = parser.parseASURI("/xhtml1.1.xsd"); parser.setAbstractSchema(asmodel); This gives the following error: [Error] xhtml-required-1.xsd:4:123: src-include.2.1: the targetNamespace of the schema 'http://www.w3.org/1999/xhtml' must be identical to that of the including schema 'http://www.w3.org/1999/xhtml'. [Error] xhtml-optional-1.xsd:10:36: src-include.2.1: the targetNamespace of the schema 'http://www.w3.org/1999/xhtml' must be identical to that of the including schema 'http://www.w3.org/1999/xhtml'. ... hope this isn't me making a fundemental error. --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
