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

RE: Fwd: Is this a Saxon Bug ?

Subject: RE: Fwd: Is this a Saxon Bug ?
From: "Michael Kay" <mike@xxxxxxxxxxxx>
Date: Tue, 6 Oct 2009 07:03:51 +0100
RE:  Fwd: Is this a Saxon Bug ?
> I don't think there is a problem, as far as I can see the 
> input and output have the same bytes for character data, 
> except that the input &#C; are output in text mode as literal 
> (xml 1.1) control-L characters.
> 

Thanks for that David.

This suggests that the problem can be solved by specifying -xmlversion:1.1
on the command line or the equivalent configuration option on the API. If
you don't specify this option, Saxon assumes that all characters will be
valid XML 1.0 characters. Unfortunately there is no way for Saxon to ask the
XML parser whether it is accepting XML 1.1 characters, and it is too
expensive to check each character on input.

Regards,

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

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.