- From: Cantor, Scott E. <cantor.2@osu.edu>
- Date: Wed, 27 Apr 2011 02:08:15 +0000
- To: "edsimon@xmlsec.com" <edsimon@xmlsec.com>
- CC: Pratik Datta <pratik.datta@oracle.com>, "public-xmlsec@w3.org" <public-xmlsec@w3.org>
On 4/26/11 9:47 PM, "edsimon@xmlsec.com" <edsimon@xmlsec.com> wrote: >I agree about following the XML specification on this. That said, what is >defined as whitespace may vary from character set to character set. >Unicode, for example, defines whitespace characters [1] that are not >considered whitespace in the XML spec...and that makes me curious given >that XML would tend to need to define whitespace in terms of specific >characters. That's why they were explicit about it. If it's not one of those original characters, then XML doesn't treat it as whitespace even if the character set happens to do that. So functions like isspace() in C/C++ just aren't appropriate for XML whitespace determination. -- Scott
Received on Wednesday, 27 April 2011 02:08:49 UTC