Home. 
.

transparent

transparent

transparent

Altova Mailing List Archives


Re: [xsl] DTDs and offline processing

From: George Cristian Bina <george@------->
To:
Date: 2/1/2005 10:33:00 AM
You should use an XML Catalog.

As you are on Java you can either use Xerces [1] as your XML parser and 
its XML Catalog support or you can use the Apache commons resolver [2] 
directly.



[1] http://xml.apache.org/xerces2-j/
[2] http://xml.apache.org/commons/

Best Regards,
George
---------------------------------------------------------------------
George Cristian Bina
<oXygen/> XML Editor, Schema Editor and XSLT Editor/Debugger
www.---.com


Tom Schutzer-Weissmann wrote:
I run into problems using Saxon on documents containing a DOCTYPE
declaration because it tried to look up the DTD even when I'm offline.
Is there a way to avoid this, short of removing the declaration?

The other problem is that without the DTD, entities can't be looked up,
so  I get an error. From what I could see in the FAQs, the only way
round that is to temporarily change &thing; into [[AMP]]something_else;,
with sed. Any alternatives?

regards,
Tom SW


transparent
Print
Mail
Digg
delicious
Disclaimer
.

These Archives are provided for informational purposes only and have been generated directly from the Altova mailing list archive system and are comprised of the lists set forth on www.altova.com/list/index.html. Therefore, Altova does not warrant or guarantee the accuracy, reliability, completeness, usefulness, non-infringement of intellectual property rights, or quality of any content on the Altova Mailing List Archive(s), regardless of who originates that content. You expressly understand and agree that you bear all risks associated with using or relying on that content. Altova will not be liable or responsible in any way for any content posted including, but not limited to, any errors or omissions in content, or for any losses or damage of any kind incurred as a result of the use of or reliance on any content. This disclaimer and limitation on liability is in addition to the disclaimers and limitations contained in the Website Terms of Use and elsewhere on the site.

.
.

transparent

transparent