xsl-list
[Top] [All Lists]

RE: [xsl] Without DTD Mapping

2008-08-25 03:17:29
You can't use XSLT to transform an input document unless the input is
well-formed XML. If the input contains an entity reference ‐ but
there is no DTD to declare what this entity reference means, then the input
is not well-formed XML.

Michael Kay
http://www.saxonica.com/ 

-----Original Message-----
From: V.Ramkumar [mailto:V(_dot_)Ramkumar(_at_)macmillansolutions(_dot_)com] 
Sent: 25 August 2008 06:06
To: xsl-list(_at_)lists(_dot_)mulberrytech(_dot_)com
Subject: [xsl] Without DTD Mapping


Hi list,

I am doing XML 2 XML transform using xslt2.0 through saxon. 
My source xml don't have any DTD (to Map/Assign). But saxon 
throws error when transform for entity as "Error on line 5 
column 56 of c01.xml: SXXP0003: Error reported by XML parser: 
The entity "hyphen" was eferenced, but not declared." How to 
ignore parsing when transform.

Regards,
Ramkumar


--~------------------------------------------------------------------
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>
--~--



--~------------------------------------------------------------------
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>
--~--

<Prev in Thread] Current Thread [Next in Thread>