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 Dave <ja...@yahoo.com> on 2007/05/25 06:25:05 UTC
entity relative URI does not work
Hi, I am using JBoss 4.0.5GA that uses xerces XML parser.
<!DOCTYPE category [
....
<!ENTITY part SYSTEM "part.xml">
]>
<computer>
∂
</computer>
I got java.io.FileNotFoundException: /usr/jboss/jboss-4.0.5.GA/bin/part.xml
The parser tried to resolve the entity location using system location where JVM started, not parent document location. It is a relative URI.
Is this a bug? or some configuration I need to do?
I tried to solve this for days. I seached the web, but did not find anything.
Thanks in advance for help
Dave
---------------------------------
Sucker-punch spam with award-winning protection.
Try the free Yahoo! Mail Beta.
Re: entity relative URI does not work
Posted by Michael Glavassevich <mr...@ca.ibm.com>.
Hi Dave,
I guess you didn't search the mailing list archives. This has come up many
times, most recently yesterday. Here's a link [1] to the thread.
Thanks.
[1] http://marc.info/?t=117996461900004&r=1&w=2
Michael Glavassevich
XML Parser Development
IBM Toronto Lab
E-mail: mrglavas@ca.ibm.com
E-mail: mrglavas@apache.org
Dave <ja...@yahoo.com> wrote on 05/25/2007 12:25:05 AM:
> Hi, I am using JBoss 4.0.5GA that uses xerces XML parser.
>
> <!DOCTYPE category [
> ....
> <!ENTITY part SYSTEM "part.xml">
> ]>
>
> <computer>
>
> ∂
>
> </computer>
>
>
> I got java.io.FileNotFoundException:
/usr/jboss/jboss-4.0.5.GA/bin/part.xml
>
> The parser tried to resolve the entity location using system
> location where JVM started, not parent document location. It is a
> relative URI.
>
> Is this a bug? or some configuration I need to do?
> I tried to solve this for days. I seached the web, but did not find
anything.
>
> Thanks in advance for help
> Dave
>
>
>
> Sucker-punch spam with award-winning protection.
> Try the free Yahoo! Mail Beta.
---------------------------------------------------------------------
To unsubscribe, e-mail: j-users-unsubscribe@xerces.apache.org
For additional commands, e-mail: j-users-help@xerces.apache.org