[Home] [By Thread] [By Date] [Recent Entries]
David Carlisle wrote:
But my experience that it's quite esy to have documents that work in 1.0 The difference that is causing all the trouble seems to be the difference in path expressions like this: <xsl:variable name="lang-id" select="/g:grammar/g:language/@id"/> If there are two g:language elements, an XSLT 1.0 processor returns only one id attribute, and an XSLT 2.0 processor returns two. If the result is put into the output then you get funny results. Unfortunately, this happens in at least several places in at least several stylesheets, and I doubt there's any easy way to automatically detect where the difference in behavior might cause different output for sample input or for input governed by a given schema. Jonathan
|

Cart



