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

Re: XML parser accesses Internet, why?

Subject: Re: XML parser accesses Internet, why?
From: George Cristian Bina <george@xxxxxxxxxxxxx>
Date: Mon, 07 May 2007 17:14:54 +0300
Re:  XML parser accesses Internet
Hi Erik,

What I would recommend is to set up an XML Catalog and solve the remote DTD reference to a local copy. XML Catalog was invented exactly to solve this type of problems.

Best Regards,
George Cristian Bina - http://aboutxml.blogspot.com/
<oXygen/> XML Editor, Schema Editor and XSLT Editor/Debugger

Beek, Erik van wrote:
Date: Sat, 5 May 2007 08:29:07 +0100
To: <xsl-list@xxxxxxxxxxxxxxxxxxxxxx>
From: "Michael Kay" <mike@xxxxxxxxxxxx>
Subject: RE: XML parser accesses Internet, why?
Message-ID: <006101c78ee7$1120f2b0$6401a8c0@turtle>
Why would the Java XML parser under Saxon8.7.1J need to access the internet?
If your XML document references a DTD then the XML parser in general
need a copy of the DTD. Unless it's clever and can find a cached copy,
will follow the URI reference and fetch it.

(This is nothing to do with XSLT or Saxon, by the way)

I know it's not an XSLT problem, but it is annoying if this stops a stylesheet from running.

I'm wrote a stylesheet to extract data from my iTunes XML library, but
sometimes the DTD on apple.com is unavailable. In that case I need to
make a copy of the 50mb library file and delete the declaration
manually, each time the file is changed.
I wish there was a way to tell the parser to just ignore the DTD

Erik van Beek

Current Thread


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.
First Name
Last Name
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.