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=7927>. 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=7927 schema in multiple files with same target namespace Summary: schema in multiple files with same target namespace Product: Xerces2-J Version: 2.0.1 Platform: All OS/Version: All Status: NEW Severity: Enhancement Priority: Other Component: XML Schema Structures AssignedTo: [EMAIL PROTECTED] ReportedBy: [EMAIL PROTECTED] I have written several schemas in separate files to describe an api. all the apis belong to the same target namespace: http://www.myself.com/API say I have a schema named referenceobject.xsd to describe referenceobject and another schema named concreteobject.xsd to describe concreteobject I want to write: <referenceobject xmlns="http://www.myself.com/API" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://www.myself.com/API http://www.myself.com/API/root/referenceobject.xsd"> <someElementBelongingToReferenceObjectDefinition/> <concreteobject xsi:schemaLocation="http://www.myself.com/API http://www.myself.com/API/root/concreteobject.xsd"> <someElementBelongingToConcreteObjectDefinition/> </concreteobject> </referenceobject> is this production valid with respect to XML/XMLSchema specification? right now xerces will not validate this (see org.apache.xerces.impl.xs.XMLSchemaValidator.findSchemaGrammar()) would it be useful to have it implemented? or is there a problem with this approach? Thank you --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
