Sirs, I´m
having a hard Time trying to deploy a component that uses some XMLs. I don´t have much time, so I´ll go straight to the point. As some people might now, we
can create internal references inside a XML to another XML.. For example, let´s suppose that I want a XML to contain data from
another xml, I would have the following: TEST.XML <?xml version="1.0"
encoding="UTF-8"?> <!DOCTYPE ejb-jar PUBLIC "-//Sun
Microsystems, Inc.//DTD Enterprise JavaBeans 2.0//EN" "http://java.sun.com/dtd/ejb-jar_2_0.dtd"
[<!ENTITY text SYSTEM "text.xml">]> <TagWhereIGetContentFromAnotherXmlFile> &text; </ TagWhereIGetContentFromAnotherXmlFile
> As a second step, you can
create a TEXT.xml file with the following content: <content>TEST</content> Ok, so anyone who cares to do
the test, will see that if you open the test.xml using your browser, it will show in its content
the tags that are on the TEXT.xml. The big issue here is that Jboss can´t "understand"
this xml´s feature! In other way, if I try to deploy a xml file (wich makes reference
to another xml file), the JBoss container can´t "understand
it", so he can´t map the data contained in the
other xml file. I tried to open the same XML on my BROWSER and it DOES show all
the data that it´s supposed to show! This has lead
me to think that: Would JBoss parser be different from the standard xml parser? Has anyone experienced such
problem? []´s! Paulo André Antonialli Analista de Sistemas - NDS paulo.antonialli@foton.la Fóton® Informática e
Serviços Fone: (61) 3031-5088 |