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

Re: SAXON and special characters

Subject: Re: SAXON and special characters
From: Wendell Piez <wapiez@xxxxxxxxxxxxxxxx>
Date: Tue, 17 Jul 2001 11:02:53 -0400
xml special charact
To add to what David says:

At 04:37 AM 7/17/01, he wrote:
> I'm looking for a list of any and all characters that throw errors when
> the saxon processor runs into them.
>
> Does such a list exist and if so where can I view it?

????

Saxon doesn't read the any characters directly it (like all XSLT
systems) uses an XML parser. The list of characters allowed in XML is
rather large. No characters throw errors (otherwise, by definition, they
are not characters) but some unicode code points do not correspond to
characters, in particular all the ascii control range below position 32
(space) except for 9 10 and 13.

All this is details in the XML Rec, which specifies which parts of Unicode are good for what in XML (characters appearing in data, element name characters, name start characters etc. etc.).


But the point that Saxon doesn't read the characters directly is key. The XSLT processor could in theory be attached to any device that gave it "XML", including some kind of "virtual XML" processor whose input would be something completely different (even a different encoding) and which would feed its "XML" (specifically it could be a SAX event stream or DOM tree) to Saxon. What Saxon saw would not contain any disallowed characters such as those David mentioned. The input, on the other hand....

So really you're looking for specs on the parser you're using, including whether it can support any non-Unicode character sets. (I think Saxon's default parser is AElfred, isn't it Mike? What is all this, are we going to see Eadmund and Ethelred next?)

Cheers,
Wendell



David

_____________________________________________________________________
This message has been checked for all known viruses by Star Internet
delivered through the MessageLabs Virus Scanning Service. For further
information visit http://www.star.net.uk/stats.asp or alternatively call
Star Internet for details on the Virus Scanning Service.

XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list


======================================================================
Wendell Piez                            mailto:wapiez@xxxxxxxxxxxxxxxx
Mulberry Technologies, Inc.                http://www.mulberrytech.com
17 West Jefferson Street                    Direct Phone: 301/315-9635
Suite 207                                          Phone: 301/315-9631
Rockville, MD  20850                                 Fax: 301/315-8285
----------------------------------------------------------------------
  Mulberry Technologies: A Consultancy Specializing in SGML and XML
======================================================================


XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list



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.