Author Tomalak
Recipients Tomalak, ajaksu2, sechi_francesco
Date 2009-05-13.11:57:19
SpamBayes Score 0.000190554
Marked as misclassified No
Message-id <1242215841.18.0.214472836893.issue5752@psf.upfronthosting.co.za>
In-reply-to
Content
Daniel Diniz: 

The proposed behaviour is correct:
http://www.w3.org/TR/2000/WD-xml-c14n-20000119.html#charescaping

"In attribute values, the character information items 
TAB (#x9), newline (#xA), and carriage-return (#xD) 
are represented by "&#x9;", "&#xA;", and "&#xD;" respectively."

Since the behaviour is correct, it is also desirable. :-)

I don't think that this change could cause existing solution to break
since the current inconsistency in handling these characters make it
impossible to rely on this anyway.

Thanks for putting up the unit test diff.
History
Date User Action Args
2009-05-13 11:57:21Tomalaksetrecipients: + Tomalak, ajaksu2, sechi_francesco
2009-05-13 11:57:21Tomalaksetmessageid: <1242215841.18.0.214472836893.issue5752@psf.upfronthosting.co.za>
2009-05-13 11:57:19Tomalaklinkissue5752 messages
2009-05-13 11:57:19Tomalakcreate