[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message]

RE: Does the XSL processors within IE5beta2 validate a XSL

Subject: RE: Does the XSL processors within IE5beta2 validate a XSL style sheet?
From: Jonathan Marsh <jmarsh@xxxxxxxxxxxxx>
Date: Fri, 18 Dec 1998 11:31:59 -0800
RE: Does the XSL processors within IE5beta2 validate a  XSL
The IE5 XSL processor does not validate the stylesheet against a DTD.
Indeed, since XSL relies heavily on namespaces, I don't think this is
possible.

The IE5 XSL processor does leverage the IE5 XML parser to load the
stylesheet, thus reporting well-formedness errors, and even reporting
validation failures against a DTD or Schema if that is specified in the XSL
file.  After parsing and any validating requested by the author of the
stylesheet, the XSL processor compiles the stylesheet for execution.  Errors
reported such as the <xsl:process-children/> one below are reported at this
stage, thus they are really compiler errors rather than true validation
errors.  Runtime errors (including script errors) are reported while the
stylesheet is being run.

> -----Original Message-----
> From: Markor, John (Non-HP) [mailto:jmarkor@xxxxxxxxxx]
> Sent: Friday, December 18, 1998 10:24 AM
> To: 'xsl-list@xxxxxxxxxxxxxxxx'
> Subject: RE: Does the XSL processors within IE5beta2 validate a XSL
> style sheet?
> 
> 
> yes, I believe the processor is validating the XSL (I found 
> this out the
> hard way) in that it dynamically attaches itself (or at least 
> appears to...)
> to the document in question.  But what you are seeing is an error in
> IE5beta2, in which the <xsl:process-children/> tag is not processed.  
> 
> Again - hopefully they will fix this bug in the next release.
> 
> 
> -----Original Message-----
> From: Amit Rekhi [mailto:amitr@xxxxxxxxxxxxx]
> Sent: Friday, December 18, 1998 3:19 AM
> To: xsl list
> Subject: Does the XSL procesor within IE5beta2 validate a XSL
> stylesheet?
> 
> 
> 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
> 
> 
>  XSL-List info and archive:  http://www.mulberrytech.com/xsl/xsl-list
> 


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


Current Thread

PURCHASE STYLUS STUDIO ONLINE TODAY!

Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced!

Buy Stylus Studio Now

Download The World's Best XML IDE!

Accelerate XML development with our award-winning XML IDE - Download a free trial today!

Don't miss another message! Subscribe to this list today.
Email
First Name
Last Name
Company
Subscribe in XML format
RSS 2.0
Atom 0.3
Site Map | Privacy Policy | Terms of Use | Trademarks
Free Stylus Studio XML Training:
W3C Member
Stylus Studio® and DataDirect XQuery ™are products from DataDirect Technologies, is a registered trademark of Progress Software Corporation, in the U.S. and other countries. © 2004-2013 All Rights Reserved.