[Home] [By Thread] [By Date] [Recent Entries]

  • From: Richard Tobin <richard@c...>
  • To: xml-dev@l...
  • Date: Fri, 26 Jan 2001 17:46:01 +0000 (GMT)

>The first time I process the document, &#x09; 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

Site Map | Privacy Policy | Terms of Use | Trademarks
Free Stylus Studio XML Training:
W3C Member