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

Re: fairly complex xslt not giving errors I can under

Subject: Re: fairly complex xslt not giving errors I can understand
From: Martin Honnen <Martin.Honnen@xxxxxx>
Date: Wed, 13 Feb 2008 15:37:41 +0100
Re:  fairly complex xslt not giving errors I can  under
David at roamware wrote:

The error I get when opening in Firefox is "
XML Parsing Error: junk after document element
Location: file:///D:/DevProjects/mddlQuestFor/schemas/3.0-beta/mddl-3.0-test.xml
Line Number 7953, Column 14:</xsd:schema>g"


Which suggests to me I have not understood the output

That error indicates that there is some "junk" data after the end tag of the document element </xsd:schema>. XML does not allow that so you need to check that file mddl-3.0-test.xml whether it is really well-formed XML.



I also tried this


D:\DevProjects\mddlQuestFor\>java -cp ./xalan.jar;./xercesImpl.jar;./serializer.jar;./xmi-apis.jar org.apache.xalan.xslt.Process -I
l -XSL normalised.xslt -OUT test.xml
SystemId Unknown; Line #12; Column #70; Could not find function: ends-with
SystemId Unknown; Line #12; Column #70; function token not found.
(Location of error unknown)java.lang.NullPointerException
SystemId Unknown; Line #12; Column #70; Could not find function: ends-with

Your stylesheet uses the function 'ends-with' defined in XPath 2.0 but you are trying to run it with Firefox or Xalan which only support XSLT and XPath 1.0.



--


	Martin Honnen
	http://JavaScript.FAQTs.com/

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.