[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
|
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
---------------------------------------------------------------------
George Cristian Bina - http://aboutxml.blogspot.com/
<oXygen/> XML Editor, Schema Editor and XSLT Editor/Debugger
http://www.oxygenxml.com
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
will
need a copy of the DTD. Unless it's clever and can find a cached copy,
it
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
declaration...
Erik van Beek
|
PURCHASE STYLUS STUDIO ONLINE TODAY!
Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced!
Download The World's Best XML IDE!
Accelerate XML development with our award-winning XML IDE - Download a free trial today!
Subscribe in XML format
RSS 2.0 |
|
Atom 0.3 |
|
|