W3C home > Mailing lists > Public > public-xmlsec@w3.org > April 2011

Re: Definition of whitespace for the TrimTextNodes parameter in C14N 2.0

From: Cantor, Scott E. <cantor.2@osu.edu>
Date: Tue, 26 Apr 2011 23:43:53 +0000
To: Pratik Datta <pratik.datta@oracle.com>, "public-xmlsec@w3.org" <public-xmlsec@w3.org>
Message-ID: <C9DCD0C8.985E%cantor.2@osu.edu>
On 4/26/11 7:35 PM, "Pratik Datta" <pratik.datta@oracle.com> wrote:
>I have been trying to prototype C14N 2.0 and Java has an "isWhitespace"
>method. 
>
>http://download.oracle.com/javase/1.5.0/docs/api/java/lang/Character.html#
>isWhitespace(int)
>
>But that isWhitespace has a different definition, from XML's whitespace.

Yes, XML's has a fairly specific definition that won't match most others,
but this is an XML spec...

-- Scott
Received on Tuesday, 26 April 2011 23:44:38 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Tuesday, 26 April 2011 23:44:38 GMT