Namespaces and DTDs

Chris Maden crism at oreilly.com
Thu Mar 11 20:34:30 GMT 1999


[Didier PH Martin]
> a) a Lisp document could be made SGML compliant because SGML can let
> you define begin and end tag's delimiters (Ex: dsssl).

I think there's a little confusion here about DSSSL.  DSSSL
stylesheets are SGML documents, but they usually use angle-brackets:

<style-sheet>
<style-specification>
<style-specification-body>

(default (make sequence))

</style-specification-body>
</style-specification>
</style-sheet>

The parentheses are only character data.

I don't think that Lisp could be made SGML compliant; the delimiters
could be redefined, but as Steve DeRose notes in _The SGML FAQ Book_,
there are some limits to the flexibility of the redefinitions, since
some delimiter roles are overloaded.  Also, Lisp doesn't have the
equivalent of start-tag close, and you can only omit tagc if the next
character is stago or etago (ISO 8879:1986, clause 7.4.1.2) which it
wouldn't be when you get to the leaves of a structure.

-Chris
-- 
<!NOTATION SGML.Geek PUBLIC "-//Anonymous//NOTATION SGML Geek//EN">
<!ENTITY crism PUBLIC "-//O'Reilly//NONSGML Christopher R. Maden//EN"
"<URL>http://www.oreilly.com/people/staff/crism/ <TEL>+1.617.499.7487
<USMAIL>90 Sherman Street, Cambridge, MA 02140 USA" NDATA SGML.Geek>

xml-dev: A list for W3C XML Developers. To post, mailto:xml-dev at ic.ac.uk
Archived as: http://www.lists.ic.ac.uk/hypermail/xml-dev/ and on CD-ROM/ISBN 981-02-3594-1
To (un)subscribe, mailto:majordomo at ic.ac.uk the following message;
(un)subscribe xml-dev
To subscribe to the digests, mailto:majordomo at ic.ac.uk the following message;
subscribe xml-dev-digest
List coordinator, Henry Rzepa (mailto:rzepa at ic.ac.uk)




More information about the Xml-dev mailing list