|
Re: XSDPackage nsuri, why not: http://www.w3.org/2001/XMLSchema [message #434563 is a reply to message #434500] |
Thu, 30 July 2009 19:49 |
Ed Merks Messages: 33136 Registered: July 2009 |
Senior Member |
|
|
Martin,
Comments below.
Martin Taal wrote:
> Hi Ed,
> Another question.
>
> I have a xsd which refers to the XML Schema xsd (it has an element
> which is a schema). I expected/hoped that this would resolve to a
> reference to the XSDPackage but it did not because the XSDPackage
> seems to use a different namespace then the XML Schema namespace.
Yes and the XMLTypePackage also uses a different namespace (because it's
not really the complete model derived from the schema for schemas, but
rather is only the built-in types).
> I noticed that the XMLNameSpacePackage on the other hand uses the
> w3.org nsuri.
It really is the model derived from that schema.
>
> Is there a specific reason why the XSDPackage has a different
> non-w3.org namespace uri?
That was a long time ago. :-P
This allows one bind the schema for schemas directly...
>
> Is there a way that I can let xsd's, which I read through a
> xsdresource, make use of the XSDPackage instead of creating their own
> xsd schema instance?
No. I suspect that any model that refers directly to the schema for
schemas will have a hard time serializing and deserializing instances
unless there is a proper binding for the schema for schemas.
>
>
Ed Merks
Professional Support: https://www.macromodeling.com/
|
|
|
Powered by
FUDForum. Page generated in 0.01759 seconds