Hi Michael,
thanks a lot for that hint. Is working fine like that.

I was already thinking on implementing my own
EntityResolver to resolve my schema locations.
I tried to replace the space by   or %20 before
but it didn't work. Must have been the "file:///" that
I had forgotten.

Michael

--- Michael Glavassevich <[EMAIL PROTECTED]> wrote:

> Hello Michael,
> 
> The value of the schemaLocation property is a list
> of pairs or URIs 
> (target namespace, location) separated by spaces.
> Try replacing "D:/my 
> schemas/schema2.xsd" with
> "file:///D:/my%20schemas/schemas.xsd".
> 
> On Sat, 31 Jul 2004, Michael Renz wrote:
> 
> > Hi,
> > I am using Xerces 2.2.1 to parse XML documents and
> > validate them against two
> > XML Schemas.
> > Therefore I set the property
> >
>
"http://apache.org/xml/properties/schema/external-schemaLocation";
> > of the
> > DOMParser similar to that:
> >
> >
> > extSchemas = "http://www.abc.com/ns1 D:/my
> > schemas/schema1.xsd
> > http://www.abc.com/ns2 D:/my schemas/schema2.xsd";
> >
>
domParser.setProperty("http://apache.org/xml/properties/schema/external-sche
> > maLocation", extSchemas);
> >
> > But the schemas cannot be found due to the space
> > character in the schema
> > paths.
> >
> > Is there a way to set an external schema location
> to a
> > path that includes
> > space characters?
> >
> > Thanks for any comments.
> > Michael
> >
> >
> >
> >
> >
> > __________________________________
> > Do you Yahoo!?
> > New and Improved Yahoo! Mail - 100MB free storage!
> > http://promotions.yahoo.com/new_mail
> >
> >
>
---------------------------------------------------------------------
> > To unsubscribe, e-mail:
> [EMAIL PROTECTED]
> > For additional commands, e-mail:
> [EMAIL PROTECTED]
> >
> >
> 
> ---------------------------
> Michael Glavassevich
> XML Parser Development
> IBM Toronto Lab
> E-mail: [EMAIL PROTECTED]
> E-mail: [EMAIL PROTECTED]
> 
>
---------------------------------------------------------------------
> To unsubscribe, e-mail:
> [EMAIL PROTECTED]
> For additional commands, e-mail:
> [EMAIL PROTECTED]
> 
> 



        
                
__________________________________
Do you Yahoo!?
New and Improved Yahoo! Mail - 100MB free storage!
http://promotions.yahoo.com/new_mail 

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

Reply via email to