Re: [xml-dev] ID-ness in XML

From
Elliotte Rusty Harold <>
To
Date
2001-11-11T12:22:08Z
ID
<p04330101b8141cedf60d@[192.168.254.4]>
Thread
Re: [xml-dev] ID-ness in XML
At 6:16 AM -0500 11/11/01,  wrote:

Why do you assume that XSLT documents/stylesheets are "almost never" valid?


1. There's no official DTD/schema for XSLT.

2. I think maybe once I've seen a proof of concept of a valid XSLT 
stylesheet, probably on the xsl mailing list. All the other XSLT 
documents I've actually seen in the wild were invalid.

3. Since almost all practical, non-trivial XSLT style sheets 
routinely mix elements and attributes from three different 
vocabularies in very complicated ways, and since two of those 
vocabularies change from one style sheet to the next, it's virtually 
impossible to write a DTD that covers all XSLT style sheets.
-- 

+-----------------------+------------------------+-------------------+
| Elliotte Rusty Harold |  | Writer/Programmer |
+-----------------------+------------------------+-------------------+
|          The XML Bible, 2nd Edition (Hungry Minds, 2001)           |
|              http://www.ibiblio.org/xml/books/bible2/              |
|   http://www.amazon.com/exec/obidos/ISBN=0764547607/cafeaulaitA/   |
+----------------------------------+---------------------------------+
|  Read Cafe au Lait for Java News:  http://www.cafeaulait.org/      |
|  Read Cafe con Leche for XML News: http://www.ibiblio.org/xml/     |
+----------------------------------+---------------------------------+