You are viewing a plain text version of this content. The canonical link for it is here.
Posted to j-dev@xerces.apache.org by bu...@apache.org on 2002/04/10 17:47:33 UTC
DO NOT REPLY [Bug 7927] New: -
schema in multiple files with same target namespace
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: xerces-j-dev@xml.apache.org
ReportedBy: andre.levy@almonde.com
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: xerces-j-dev-unsubscribe@xml.apache.org
For additional commands, e-mail: xerces-j-dev-help@xml.apache.org