Does the XSL procesor within IE5beta2 validate a XSL stylesheet?

Subject: Does the XSL procesor within IE5beta2 validate a XSL stylesheet?
From: "Amit Rekhi" <amitr@xxxxxxxxxxxxx>
Date: Fri, 18 Dec 1998 16:49:06 +0530
Hello,

I was trying to render an XML file using an  XSL stylesheet in IE5beta2,
 and discovered that the XSL processor within IE5beta2 was not only checking
for well-formedness of the XSL file but was also trying to validate
the XSL stylesheet. for eg.

A sample XSL stylesheet

1. <xsl:stylesheet xmlns:xsl="http://www.w3.org/TR/WD-xsl";>
2. <xsl:template match="/">
3.  <HTML>
4.   <BODY BGCOLOR="#FFFFCC">
5.       <xsl:process-children/>
6.   </BODY>
7.  </HTML>
8. </xsl:template>
9. <xsl:template match="ProbTracker">
10.  <B>Hi!</B>
11. </xsl:template>
12.</xsl:stylesheet>


When I try to link the above XSL file to an XML file and try
running the XML thru  IE5, it gives an error saying

"Keyword xsl:process-children may not be used here."
Here = Line No. 5 above

This gives me the impression that IE5 may be validating an XSL file against
a predefined XSL DTD before rendering it.
Am I right?
If yes
  *  where can I get the DTD from?

Why is it that <xsl:process-children/> cannot be a part of the the <BODY>
element
content?
Is the content model for <BODY> defined in some XSL DTD which IE5 validates
an XSL file against?


Thanks,
AMIT



 XSL-List info and archive:  http://www.mulberrytech.com/xsl/xsl-list


Current Thread