W3C home > Mailing lists > Public > www-talk@w3.org > July to August 2003

RE: [www-talk] <none>

From: Nigel Peck - MIS Web Design <nigel@miswebdesign.com>
Date: Wed, 30 Jul 2003 17:42:51 +0100
To: "US-man Syed" <us_man_work@hotmail.com>, <www-talk@w3.org>
Message-ID: <GIEPILGNGLGALLGCBEGLIEILCLAA.nigel@miswebdesign.com>

I am no expert on SGML but does SGML have a data type of SDATA?

Because XML does not, this may be the problem, your entities may have a data type of SDATA, try setting them to CDATA.

(Disclaimer: This could be totally useless advice)

Cheers,
Nigel

MIS Web Design
http://www.miswebdesign.com/

> -----Original Message-----
> From: www-talk-request@w3.org [mailto:www-talk-request@w3.org]On Behalf
> Of US-man Syed
> Sent: 30 July 2003 17:27
> To: www-talk@w3.org
> Subject: [www-talk] <none>
> 
> 
> Hi All!
> 
> I am converting a file from SGML to XML using the syntax:
> 
> C:\SP1_3_4\bin\sx -wall -E0 -xndata -fC:\QABC\QABCErrors.txt 
> -DC:\QABC\ents 
> TIM.dtd TIM.sgm>C:\QABC\QABC_TIM.xml
> 
> and am receiving errors like:
> W: reference to internal SDATA entity "ldquo" not allowed in XML
> W: reference to internal SDATA entity "rdquo" not allowed in XML
> W: reference to internal SDATA entity "deg" not allowed in XML
> W: reference to internal SDATA entity "mdash" not allowed in XML
> W: reference to internal SDATA entity "ndash" not allowed in XML
> W: reference to internal SDATA entity "nbsp" not allowed in XML
> W: reference to internal SDATA entity "amp" not allowed in XML
> .........
> 
> The entities are defined in external entity file ISOTech, ISOPub, 
> ISOnum and 
> ISOGRk1 which are kept in C:\QABC\ents directory.
> 
> Can anybody help me on how to resolve it and/or what could be the 
> cause of 
> such messages?
> 
> Thanks
> Us
> 
> _________________________________________________________________
> Protect your PC - get McAfee.com VirusScan Online  
> http://clinic.mcafee.com/clinic/ibuy/campaign.asp?cid=3963
> 
Received on Wednesday, 30 July 2003 12:43:22 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Wednesday, 27 October 2010 18:14:28 GMT