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

RE: Without DTD Mapping

Subject: RE: Without DTD Mapping
From: "Michael Kay" <mike@xxxxxxxxxxxx>
Date: Mon, 25 Aug 2008 09:17:07 +0100
RE:  Without DTD Mapping
You can't use XSLT to transform an input document unless the input is
well-formed XML. If the input contains an entity reference &hyphen; 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.Ramkumar@xxxxxxxxxxxxxxxxxxxxxx] 
> Sent: 25 August 2008 06:06
> To: xsl-list@xxxxxxxxxxxxxxxxxxxxxx
> Subject:  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

Current Thread

PURCHASE STYLUS STUDIO ONLINE TODAY!

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