[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Attribute-Value Normalization problem
- From: Richard Tobin <richard@cogsci.ed.ac.uk>
- To: xml-dev@lists.xml.org
- Date: Fri, 26 Jan 2001 17:46:01 +0000 (GMT)
>The first time I process the document, 	 is replaced by a TAB
>character. After I generate digest, I write it back to a file.
This is where it's going wrong: a TAB in an attribute value should be
written out as a character reference, not as a tab character. I don't
know how to fix this; it depends on the software you are using.
>My further question is: Why does the spec
>treats Character References differently?
(a) because that's what SGML does;
(b) so that you can prevent characters being normalized.
-- Richard