W3C home > Mailing lists > Public > public-qt-comments@w3.org > October 2002

RE: non-XML characters in text nodes

From: Kay, Michael <Michael.Kay@softwareag.com>
Date: Fri, 25 Oct 2002 14:53:36 +0200
Message-ID: <DFF2AC9E3583D511A21F0008C7E621060453DCCA@daemsg02.software-ag.de>
To: Mike Brown <mike@skew.org>, public-qt-comments@w3.org

> Kay, Michael wrote:
> > I'm not sure if you are trying to say that this is not 
> clearly stated, 
> > or if you are saying that you disagree with the decision we 
> have made.
> Both. But you know what? Never mind.
> I am just trying to figure out whether an implementation is 
> allowed to have non-XML characters in text nodes, and whether 
> a function (any function) can return non-XML characters in a 
> "string"-type object. I'd like to think that a "string", 
> since it *is*, by definition, an xs:string, has no such 
> leeway, but apparently in XSLT-land the rules are relaxed.

We should perhaps be clearer. It IS an error to return such a string. You
can't predict what will happen if you do it. You can't even be sure of
getting a decent error message.

Michael Kay
Received on Friday, 25 October 2002 08:53:56 UTC

This archive was generated by hypermail 2.4.0 : Friday, 17 January 2020 16:56:43 UTC