[jdev] Re: Jabber XSD files
Trejkaz Xaoza
trejkaz at xaoza.net
Tue Oct 26 09:56:39 CDT 2004
On Wed, 27 Oct 2004 00:16, Danny LaPrade wrote:
> Can someone show me how to merge XSD files and keep namespaces (
> avoiding element name conflicts )?
??
You don't need to merge the schemas. In fact, you _can't_ merge two schemas
which are in different namespaces. The W3C XML Schema format doesn't permit
it. RELAX-NG can, though.
What are you trying to do, exactly? If you need to strictly validate a stream
against these three schemas, then the right thing to do is just to map each
namespace to its respective schema... using all the appropriate schemas for
validation.
TX
--
Email: Trejkaz Xaoza <trejkaz at xaoza.net>
Web site: http://xaoza.net/
Jabber ID: trejkaz at jabber.xaoza.net
GPG Fingerprint: 9EEB 97D7 8F7B 7977 F39F A62C B8C7 BC8B 037E EA73
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: not available
URL: <https://www.jabber.org/jdev/attachments/20041027/30f1f5d6/attachment-0002.pgp>
More information about the JDev
mailing list