XHTML validation & nonenglish chars in comments

by Stefan Huszics <Sauron(at)pp.sbbs.se>

 Date:  Fri, 24 Aug 2001 03:06:44 +0200
 To:  hwg-xml(at)hwg.org
  todo: View Thread, Original
Hi

Lately I've been running into problems with the W3 Validator again =)
In Sweden the chars ��� ��� are commonly used, which must be escaped to 
be shown properly in an XHTML1.0 document.

If you do not only use English alpha numerics in an <?xml version="1.0" 
encoding="UTF-8"?> document, the W3 validator just throws it out as 
totally invalid without any real checking of the code.

The problem appears when I write text comments <!-- --> inside the xml 
document in Swedish.
Shure I can use escaped characters, but it kind of defys the purposed of 
a comment (since the text becomes hardly readable).
Is there a good way to solve this problem while keeping the text in 
correctly spelled swedish or is it even possibly an error by the 
validator to refuse documents because of unescaped chars inside 
textcomments?

TIA

 /Stefan Huszics

Software never has bugs. It just develops random features. =)

HWG hwg-xml mailing list archives, maintained by Webmasters