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

RE: Ascii end-of-file character output in an XSL file

Subject: RE: Ascii end-of-file character output in an XSL file
From: "Michael Kay" <mike@xxxxxxxxxxxx>
Date: Thu, 2 Jun 2005 02:50:00 +0100
xml end of file
> But!  The spec says:
> 
> [ERR XTDE1180] It is a non-recoverable dynamic error if a 
> resource contains
> characters that are not permitted XML characters.
> 
> What is the rationale for that restriction?  

I agree that this restriction can be frustrating, but the data type
xs:string is defined in relation to XML Schema and is therefore heavily
based on what XML allows in a string. If we wanted to allow manipulation of
non-XML characters we would need a new data type, and then none of the
string-handling functions would work on that data type. So there's no easy
answer.

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

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.