Handling Imported schema has target namespace X that doesnt match specified Y errors

Lukas Zapletal <[email protected]>
Newsgroups gmane.text.xml.xmlbeans.user
Message-ID <[email protected]>
Hello,

we do have bunch of schemas with no targetNamespace set but we do import them
with namespace attribute. Its a viloation of
http://www.w3.org/TR/2004/REC-xmlschema-1-20041028/#src-import but I know which
namespace is the "correct" one. Unfortunately I am not able to fix these XSDs
because these are being online generated by our thirdparty server tooling.

Is there any was to tell XmlBeans to use the namespace from the attribute (or to
use targetNamespace of the imported schema)? Is there such a functionality? Or
do you know about any hack to do this?

Thanks
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.