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

Re: Production 21 (and others)

From: Digitome Ltd. <digitome@iol.ie>
Date: Wed, 29 Jan 1997 20:31:15 +0000
Message-Id: <199701291951.TAA04839@mail.iol.ie>
To: w3c-sgml-wg@www10.w3.org
[Eve Maler]
>Comments are supposed to be text that's meant for the eyes of source-file
>readers, and not legitimate document content that's temporarily not
>supposed to be output.

To the eyes of non-SGML software types, SGML comments are kinda weird cos they
are constructs of the core language. In many programming languages they
are stripped out by the initial lexical analysis phase.

The upside of stripping them out during simple minded lexical analysis
is the shear simplicity of it. The *downside* is that language processors that
Read/Write the language loose the ability to re-create the comments on the
other side.

This raises the question - what are the constraints on XML aware applications
when it comes to parsing->processing->writing XML. Is there something along
the lines of a (much simplified) DSSSL Null Transformation???

A related question, in SGML two docs are considered equal if they produce
the same ESIS stream. Will there be a similar concept in XML? Kinda
useful in checking that an XML application interprets the document
structure as intended...

Sean Mc Grath
Received on Wednesday, 29 January 1997 14:52:50 UTC

This archive was generated by hypermail 2.4.0 : Friday, 17 January 2020 20:25:07 UTC