No, sorry, if the Schema uses XMLSchema 2000 - only features, then we
don't support it. Basically the 2000/10 is a draft that was never
published as a recomendation, what XmlBeans supports is the
recommendation. I think you should talk to the Schema author, I mean,
it's been more than 5 years now since XMLSchema was published as a
recommendation, so I think it is reasonable to ask Schema authors to
update their Schemas.
 
Radu

________________________________

From: Alex Zhang [mailto:[EMAIL PROTECTED] 
Sent: Monday, February 26, 2007 7:14 AM
To: [email protected]
Subject: Re: Please help: Cannot compile
http://www.w3.org/2001/XMLSchema


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
<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