> For example, in my schema I specify "xsd:integer", and all is fine. But
> if I use the derived "xsd:int", the parser fails to find the type ("Type
> not found in <the XMLSchema namespace>"). I also have the same problem
> with the primitive type "anyURI".

Any types you define are in your namespace, not XML Schema's namespace.
Define a prefix for your target namespace, and set the type attribute in
your element declaration to that prefix.

type="myuri:int"

> How are these types supported? Are they built into the parser, or loaded
> from an external source? Why might some fail to resolve, when others
> from the same namespace are present?

They are loaded from external sources. Any failure to resolve may be due to
the misunderstanding concerning namespaces.

David Cleary


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to