Rui Silva Torres wrote:
Will, thank you for your attention.
I can't try the code that you give, because I am not developing any
kind of code to use the generator.
The generator uses a xerces jar file, and I want to know if exists any
configuration file in the jar file,
where I can disable the conversion of the entity references.
Such a configuration change to the jar file, is very convenient. But
with such changes no two xercesImpl.jar would be same, and there would
not be a consistent way to program a XML parser that does what your
program wants.
I would suppose xercesImpl.jar must be "final" to impose deterministic
customizations to XML parser via API.
-Prashant
Regards,
Rui Torres
------------------------------------------------------------------------
*From:* Rui Silva Torres
*Sent:* Monday, March 05, 2007 2:25 PM
*To:* 'j-users@xerces.apache.org'
*Subject:* How to disable entity references conversion
Hi,
I am using a Java XML generator called toXgene that uses xerces.
This generator can get information of external sources (XML files),
and I gave to it an external xml file with entity references.
The problem is that it generates a xml file, where all the entities
references were converted, and I want to preserve all the entities.
So, I suppose that the conversion is done by xerces, and I want to
know if it is possible to configure xerces to preserve all the entities.
Regards,
Rui Torres
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]