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

Re: stylesheet expansion

Subject: Re: stylesheet expansion
From: Colin Paul Adams <colin@xxxxxxxxxxxxxxxxxx>
Date: Wed, 26 Dec 2007 21:30:26 +0000
Re:  stylesheet expansion
    >> I then tried it on Saxon 9. It reports error XTSE0210, so I
    >> guess Dr. Kay is ignoring the fragment identifier for the
    >> purposes of XTSE0210. I guess it can be argued either way with
    >> that wording, and perhaps it is deliberately ambiguous. The
    >> main point is that you don't get an infinite recursion whilst
    >> compiling.

I just realized that ignoring the fragment identifier is actually
safer (or at least easier).

Consider:

<?xml version="1.0" encoding="UTF-8"?>
<xsl:stylesheet version="2.0"
   xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
   xml:id="me"
 >
   <xsl:import href="#me" />

</xsl:stylesheet>

Saxon reports error XTSE0210 whereas Gestalt goes into an infinite
loop.

So in order to be conformant, Gestalt has somehow to check that the
fragment identifier does not refer to a module already in action.

I shall have to consider how to do this.
-- 
Colin Adams
Preston Lancashire

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.