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

[ERR XTSE0210] when importing a stylesheet indirectly

Subject: [ERR XTSE0210] when importing a stylesheet indirectly
From: Johannes Neubauer <johannes.neubauer@xxxxxxxxxxxxxxxxx>
Date: Thu, 28 Feb 2008 22:32:07 +0100
 [ERR XTSE0210] when importing a stylesheet indirectly
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Hi,

I try to do something like this:

A imports B
B imports A

This does not work. I get an [ERR XTSE0210] (saxonb-9.0.0.2 for java). I
had a look at the specification and found that this is normal behaviour.
This seems to be one of the rare cases where the spec changed after XSLT
2.0 Programmers Reference Third Edition.

How can I avoid to have circular dependencies, when I have something
like this:

Stylesheet 'A' has several xsl:key definitions. One of them uses a
function of 'B'. B uses some of the key definitions of 'A'. This is a
general requirement, I think. The restriction is really constraining me
or is there a workaround despite from splitting 'A' in many pieces, in
order to avoid circularities? Sometimes this will be impossible, if
there are real circular dependencies (an xsl:key depends on the function
and the function calls exact that key). Another possibility would be, to
include (not xsl:include) the key into 'B', but then I cannot modularize
well, if more than one module depends on the keys of 'A'.

wfg,
Jonny.
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.6 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iD8DBQFHxyhXGaEJacf6i/cRAo7xAJ9EE2h0a9z+y1Q3gQeQdkXswg3wkwCeJq97
wXoBwTmAcWwtfj3YpbWgkVo=
=4+xz
-----END PGP SIGNATURE-----

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.