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