xsl-list
[Top] [All Lists]

Re: [xsl] How to disable/turn off the inclusion of DTD in html/xhtml to xml

2010-07-22 03:40:15
Hi David,

First of all, thank you very much for responding to this thread.

Are you supplying a local dtd?I can see from the log you posted that you are 
supplying local entity files but I only see the w3c URI for the DTD (and you 
will get a 503 if you try to reference that more than a couple of times a day)

Yes, I do supply the local dtd. Why does it start to pop up if I try to 
reference it more than a couple of times a day?

When you asked this on the saxon list (where you posted the catalog) Jirka 
pointed out some errors in your catalog, the log you posted here looks the 
same 
though. So I assume the error is the same and your catalog needs to reference 
a 
local copy of the dtd.

Yes, I did post the same question on Saxon list but didn't get a response from 
Jirka on the saxon list who pointed out some errors in the catalog.xml.

Below is the catalog.xml for your reference:

<?xml version="1.0"?>
<!DOCTYPE catalog
PUBLIC "-//OASIS/DTD Entity Resolution XML Catalog V1.0//EN"
"http://www.oasis-open.org/committees/entity/release/1.0/catalog.dtd";> 
<catalog xmlns="urn:oasis:names:tc:entity:xmlns:xml:catalog"> 
<group prefer="system" xml:base="file:///E://" > 
<public 
publicId="-//W3C//DTD XHTML 1.0 Transitional//EN" 
uri="http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"/>
<system
systemId="http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"; 
uri="xhtml1-transitional.dtd"/>
<system
systemId="xhtml1-transitional.dtd" 
uri="xhtml1-transitional.dtd"/>
<uri
name="corporateStyleSheet.xsl"
uri="corporateStyleSheet.xsl"/>
<uri
</group>
</catalog>
 
Could you resend the suggestion from Jirka again?
 
Thanks a lot,
 
Jack


----- Original Message ----
From: David Carlisle <davidc(_at_)nag(_dot_)co(_dot_)uk>
To: xsl-list(_at_)lists(_dot_)mulberrytech(_dot_)com
Cc: Jack Bush <netbeansfan(_at_)yahoo(_dot_)com(_dot_)au>
Sent: Wed, 21 July, 2010 11:48:27 PM
Subject: Re: [xsl] How to disable/turn off the inclusion of DTD in html/xhtml 
to 
xml

On 21/07/2010 14:22, Jack Bush wrote:
  However, the following error has to cause grievances during
transformation process where it appears that XSLT processor is not able to 
pick
up the local DTD file supplied by Apache Resolver through Catalog.xml:


Are you supplying a local dtd?I can see from the log you posted that you are 
supplying local entity files but I only see the w3c URI for the DTD (and you 
will get a 503 if you try to reference that more than a couple of times a day)

When you asked this on the saxon list (where you posted the catalog) Jirka 
pointed out some errors in your catalog, the log you posted here looks the same 
though. So I assume the error is the same and your catalog needs to reference a 
local copy of the dtd.

david



________________________________________________________________________
The Numerical Algorithms Group Ltd is a company registered in England
and Wales with company number 1249803. The registered office is:
Wilkinson House, Jordan Hill Road, Oxford OX2 8DR, United Kingdom.

This e-mail has been scanned for all viruses by Star. The service is
powered by MessageLabs. 
________________________________________________________________________



      


--~------------------------------------------------------------------
XSL-List info and archive:  http://www.mulberrytech.com/xsl/xsl-list
To unsubscribe, go to: http://lists.mulberrytech.com/xsl-list/
or e-mail: <mailto:xsl-list-unsubscribe(_at_)lists(_dot_)mulberrytech(_dot_)com>
--~--