[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message]

Re: DTDs and offline processing

Subject: Re: DTDs and offline processing
From: George Cristian Bina <george@xxxxxxx>
Date: Tue, 01 Feb 2005 12:39:06 +0200
how to use xerces offline
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
http://www.oxygenxml.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

Current Thread

PURCHASE STYLUS STUDIO ONLINE TODAY!

Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced!

Buy Stylus Studio Now

Download The World's Best XML IDE!

Accelerate XML development with our award-winning XML IDE - Download a free trial today!

Don't miss another message! Subscribe to this list today.
Email
First Name
Last Name
Company
Subscribe in XML format
RSS 2.0
Atom 0.3
Site Map | Privacy Policy | Terms of Use | Trademarks
Free Stylus Studio XML Training:
W3C Member
Stylus Studio® and DataDirect XQuery ™are products from DataDirect Technologies, is a registered trademark of Progress Software Corporation, in the U.S. and other countries. © 2004-2013 All Rights Reserved.