Thank you Radu for replying.

I actually tried that before I posted this. Unfortunately the schema file
doesn't comply with  "http://www.w3.org/2001/XMLSchema";.

Can I configure XMLBeans to work with http://www.w3.org/2000/10/XMLSchema?

thanks again.

Alexxx


On 2/23/07, Radu Preotiuc-Pietro <[EMAIL PROTECTED]> wrote:

Indeed, it's because the xmlns value is
"http://www.w3.org/2000/10/XMLSchema"; instead of
"http://www.w3.org/2001/XMLSchema";.

You can download the Schema and then change it, in most cases it will
work (or use the XmlOptions.setLoadSubstituteNamespaces() trick to
replace one with the other if you load the Schema via API)

Radu

On Fri, 2007-02-23 at 17:42 -0500, Alex Zhang wrote:
> Hi all,
>
> I am trying to compile the following schema file into jar, but got
> "Document ipdr2.0.xsd is not a schema file" error.
>
> http://www.ipdr.org/public/ipdr2.0.xsd
>
> I guess it is somehow related to the xmlns value
> "http://www.w3.org/2001/XMLSchema";.
>
> Please help. thank you.
>
>
> Alex
_______________________________________________________________________
Notice:  This email message, together with any attachments, may contain
information  of  BEA Systems,  Inc.,  its subsidiaries  and  affiliated
entities,  that may be confidential,  proprietary,  copyrighted  and/or
legally privileged, and is intended solely for the use of the individual
or entity named in this message. If you are not the intended recipient,
and have received this message in error, please immediately return this
by email and then delete it.

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


Reply via email to