You are viewing a plain text version of this content. The canonical link for it is here.
Posted to j-dev@xerces.apache.org by Jervis Lui <je...@yahoo.com> on 2000/09/12 04:08:09 UTC
parse
All,
DOMParser's parse(String uri) method doesn't recognize
windows convention (e.g. C:\temp\file.xml). Is this a
bug?
To work around the problem, I had to use
parse(InputSource), and create the InputSource from a
FileInputStream(String uri) object, which does
recognize windows uri conventions. However, I would
expect Java's cross-platform feature to mean that
windows uri convention is supported in all methods.
Regards,
Jervis
__________________________________________________
Do You Yahoo!?
Yahoo! Mail - Free email you can access from anywhere!
http://mail.yahoo.com/
Re: parse
Posted by Andy Clark <an...@apache.org>.
Jervis Lui wrote:
> DOMParser's parse(String uri) method doesn't recognize
> windows convention (e.g. C:\temp\file.xml). Is this a
> bug?
No. Read the FAQ item regarding this problem in the docs.
--
Andy Clark * IBM, JTC - Silicon Valley * andyc@apache.org