Subject: [xsl] [ERR XTSE0210] when importing a stylesheet indirectly From: Johannes Neubauer <johannes.neubauer@xxxxxxxxxxxxxxxxx> Date: Thu, 28 Feb 2008 22:32:07 +0100 |
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1
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 |
---|
|
<- Previous | Index | Next -> |
---|---|---|
Re: [xsl] Timeout of external xslt , Michael Ludwig | Thread | RE: [xsl] [ERR XTSE0210] when impor, Michael Kay |
[xsl] Timeout of external xslt docu, Joel Dubien | Date | RE: [xsl] [ERR XTSE0210] when impor, Michael Kay |
Month |