Thanks neeraj ... I tried like that but it is showing error in my
XMLSchema.xsd specifying that "unknown base type for
reducedDerviationControl" .. may be my file is having error.. can any
body send XMLSchema.xsd file.

Thanks,
Sridhar.

-----Original Message-----
From: Neeraj Bajaj [mailto:[EMAIL PROTECTED]
Sent: Thursday, November 22, 2001 7:30 PM
To: [EMAIL PROTECTED]
Subject: Re: Doubt


Hi,

>Can I use more than one schemaLocation in the root element of a
>document.

        yes u can !!
        
> <package namespace="http://www.infy.com";
>        xmlns="http://www.bpmi.org/BPML";
>        xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance";
>        xsi:schemaLocation="http://www.bpmi.org/BPML
> WD-BPML-20010502.xsd"
>        xmlns:xsd="http://www.w3.org/2001/XMLSchema";
>        xmlns:mys="http://mys.com";
>        mys:schemaLocation="http://mys.com mys.xsd">
> ....
> ....
> </package>

try like this....

xsi:schemaLocation="http://www.bpmi.org/BPML WD-BPML-20010502.xsd 
                http://mys.com  mys.xsd">

pair of namespace, location separated by whitespace.


hope that helps,

--
Neeraj Bajaj
Sun Microsystems, inc.




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


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

Reply via email to