XML Editor
Sign up for a WebBoard account Sign Up Keyword Search Search More Options... Options
Chat Rooms Chat Help Help News News Log in to WebBoard Log in Not Logged in
Show tree view Topic
Topic Page 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 Go to previous topicPrev TopicGo to next topicNext Topic
Postnext
Paul HermansSubject: built-in xslt processor behaves differently from o
Author: Paul Hermans
Date: 03 Dec 2003 05:53 AM
Some examples of different behaviour by the built-in xslt processor versus the other ones.

xml input: musicians.xml
xslt: musicians5.xml

select = "musician[NrOfRecordings != 1]" on line 18 behaves differently

xml input: musicians.xml
xslt: musicians8+9+10.xml

 on line 32 gives a NaN, while others return 7.
Xalan also gives a Nullpointer exception


Applicationmusicians5b.XSL
first xslt

Applicationmusicians.xml
input

Applicationmusicians8+9+10.XSL
second xslt

Posttop
Minollo I.Subject: Re: built-in xslt processor behaves differently from o
Author: Minollo I.
Date: 03 Dec 2003 11:47 AM
Thanks Paul.

Both problems have been addressed in version 5.1, which will be public and
available as a free upgrade for 5.0 users on 9/12.

The problem was caused by whitespaces in the NrOfRecordings element (the
ones trailing the digit); if you remove them, things will work as expected
also in the build you are running.

About the XalanJ null pointer problem, that too has been fixed in 5.1

Hope this helps,
Minollo

 
Topic Page 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 Go to previous topicPrev TopicGo to next topicNext Topic
Download A Free Trial of Stylus Studio 6 XML Professional Edition Today! Powered by Stylus Studio, the world's leading XML IDE for XML, XSLT, XQuery, XML Schema, DTD, XPath, WSDL, XHTML, SQL/XML, and XML Mapping!  
go

Log In Options

Site Map | Privacy Policy | Terms of Use | Trademarks
Stylus Scoop XML Newsletter:
W3C Member
Stylus Studio® and DataDirect XQuery ™are from DataDirect Technologies, is a registered trademark of Progress Software Corporation, in the U.S. and other countries. © 2004-2016 All Rights Reserved.