You are viewing a plain text version of this content. The canonical link for it is here.
Posted to j-users@xerces.apache.org by Jeremy Crosbie <je...@go2.com> on 2002/01/29 20:28:01 UTC

RE: Locating a schema file with a relative pathname

It most likely looks in your current working directory, i.e. from where you
are executing the program using Xerces. This is the behavior I have seen in
previous versions. 

> -----Original Message-----
> From: Paul Erion [mailto:p_erion@yahoo.com]
> Sent: Tuesday, January 29, 2002 11:31 AM
> To: xerces-j-user@xml.apache.org
> Subject: Locating a schema file with a relative pathname
> 
> Does anyone have any idea where Xerces-J (2.0.0 beta 4)
> will look for the schema, "Doc.xsd", with the following
> "noNamespaceSchemaLocation" attribute in the root element?
> 
>   <DOC xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
>        xsi:noNamespaceSchemaLocation="Doc.xsd" >
> 
> I figured it would look in the same directory where the jar
> file for my application is, but it doesn't:
> 
>   [Warning]5757:schema error: file not found: Doc.xsd.
> 
> I know I can specify the full pathname of "Doc.xsd",
> but I'm just curious what's going on with the relative
> path (that is, just the file name).
> 
> Thanks,
> 
> :Paul
> 
> __________________________________________________
> Do You Yahoo!?
> Great stuff seeking new owners in Yahoo! Auctions!
> http://auctions.yahoo.com
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: xerces-j-user-unsubscribe@xml.apache.org
> For additional commands, e-mail: xerces-j-user-help@xml.apache.org

---------------------------------------------------------------------
To unsubscribe, e-mail: xerces-j-user-unsubscribe@xml.apache.org
For additional commands, e-mail: xerces-j-user-help@xml.apache.org


RE: Locating a schema file with a relative pathname

Posted by Paul Erion <p_...@yahoo.com>.
Thanks!  That appears to be exactly what's going on.

:Paul

    --- Jeremy Crosbie <je...@go2.com> wrote:
    > It most likely looks in your current working directory,
    > i.e. from where you are executing the program using 
    > Xerces 


__________________________________________________
Do You Yahoo!?
Great stuff seeking new owners in Yahoo! Auctions! 
http://auctions.yahoo.com

---------------------------------------------------------------------
To unsubscribe, e-mail: xerces-j-user-unsubscribe@xml.apache.org
For additional commands, e-mail: xerces-j-user-help@xml.apache.org