xml-xalan-j-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From david_mars...@us.ibm.com
Subject RE: Xalan Relaxes Rules?
Date Tue, 06 May 2003 17:44:16 GMT
Shelli D. Orton writes:
>I set XML Spy to use Xalan by setting Tools|Options|XSL|External XSL...
>I'm not sure which version of Xalan is being used.  I've downloaded
>Xalan-J 2.5, and XML Spy doesn't report any errors when using that jar
>file either.

You could try the stylesheet referenced at this FAQ entry:

And here's one of our test cases:
<?xml version="1.0"?>
<xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform" 

  <!-- FileName: conditionalerr02 -->
  <!-- Document: http://www.w3.org/TR/xslt -->
  <!-- DocVersion: 19991116 -->
  <!-- Section: 9.2 -->
  <!-- Creator: David Marston -->
  <!-- Purpose: Test xsl:choose without xsl:when, but otherwise exists. 
  <!-- ExpectedException: Required Element not found: xsl:when -->

<xsl:template match="doc">


The above should result in the indicated error.
.................David Marston

View raw message