[xsd-users] bug in ID/IDREF mechanism ?

Boris Kolpackov boris at codesynthesis.com
Mon Nov 14 09:03:37 EST 2005


Paule,

Jan <paule.hsv at gmx.de> writes:

> Ingenuously i tried to set the schema header like this
> (i.e. i replaced "codesynthesis.com" with "hsv.de") :
>
> <xsd:schema xmlns:xsd="http://www.w3.org/2001/XMLSchema"
> xmlns:xse="http://www.hsv.de/xmlns/xml-schema-extension"
> xmlns:lib="http://www.hsv.de/library"
> targetNamespace="http://www.hsv.de/library">

You cannot change "www.codesynthesis.com" to "www.hsv.de" in

xmlns:xse="http://www.codesynthesis.com/xmlns/xml-schema-extension"

because that's the namespace where xsd-specific extension attributes
reside. When xsd looks for the refType attribute it actually looks
for {http://www.codesynthesis.com/xmlns/xml-schema-extension, refType}
namespace-name pair.

hth,
-boris
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 652 bytes
Desc: Digital signature
Url : http://codesynthesis.com/pipermail/xsd-users/attachments/20051114/37157cb6/attachment.pgp


More information about the xsd-users mailing list