W3C home > Mailing lists > Public > w3c-sgml-wg@w3.org > January 1997

Re: questions on XML sgml decl's charsets

From: Peter Flynn <pflynn@curia.ucc.ie>
Date: 13 Jan 1997 23:11:47 +0000 (GMT)
To: w3c-sgml-wg@www10.w3.org
Message-id: <199701132311.XAA26838@curia.ucc.ie>
Joe writes:

   I strongly suspect that most SGML declarations include
   "SHUNCHAR CONTROLS etc." only because few people ever
   write an SGML declaration from scratch; most just copy
   an existing one and modify it, leaving the parts they don't
   understand untouched.  Since few people understand SHUNCHAR
   (I am not among them, BTW), that clause has survived largely
   unmutated from the ancestral declaration in ISO 8879.

I'm guilty as charged.

   Let me ask the converse question: is there a rationale
   *for* specifiying shunned characters?

It makes your editor go BEEP when you try to insert Ctrl-Foo, and your
parser spew out a line complaining bitterly, thus preventing people
inserting unwanted bytes by accident or design. But I'm sure there's
more to it than that.

///Peter
Received on Monday, 13 January 1997 18:11:57 EST

This archive was generated by hypermail pre-2.1.9 : Wednesday, 24 September 2003 10:03:54 EDT