| Author |
Xerces didn't find my extended xml inside a Jar
|
|
|
| Hello,
I am having a problem with Xerces finding for a extended xml (with ENTITY foo SYSTEM "file.xml"), where file.xml is inside a resources.jar , inside an EAR.
Everything is running in WAS6.0.
The XML looks this way:
<?xml version="1.0" encoding="ISO-8859-1"?>
<!DOCTYPE menu [
<!ENTITY menuitem SYSTEM "user-menu1.xml">
]>
<menu>
&menuitem;
</menu
---
And user-menu1.xml this way:
<menuitem>
<nameproperty>menu.selfcare.security.profile</nameproperty>
<url>/cbill/user/protected/util/user/prepareProfile.do?method=execute</url>
<position>content</position>
<roles>
<role>sistema</role>
</roles>
</menuitem>
The xerces claims the xml is not valid.
Any help will be much appreciated.
Thanks
Breno Leitão
CPqD IT & Telecom
| |
|
| I think the user-menu1.xml was not in the same classloader as xerces. But I don't know how to prove it.
| |
| Paul Ilechko 2005-11-30, 5:56 pm |
| bhleitao@cpqd.com.br wrote:
> I think the user-menu1.xml was not in the same classloader as xerces. But I don't know how to prove it.
Use the classloader viewer in the admin console
http://publib.boulder.ibm.com/infoc...oad_viewer.html
|
|
|
|