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

Re: NullPointerException


reference to undefined entity nbsp
Thanks Mike

Sorry, this is a red herring as it originally threw the 
NullPointerException when the entity declaration was present.  Here it is:

<!DOCTYPE stylesheet [
	<!ENTITY copy "&#169;">
	<!-- copyright symbol -->
	<!ENTITY nbsp "&#160;">
	<!-- non-breaking space -->
]>

Yvonne

--On 12 February 2004 08:09 -0700 Mike Fitzgerald <mikefz@w...> wrote:

> One untested idea: Firefox' XML parser doesn't like the undefined entity
> (&copy;) on line 15. Perhaps there are others but I didn't see any.
> Options: define the entity in a doctype declaration or use a numeric
> character reference, that is &copy; becomes &#169; or just delete it and
> test. See if that works.
>
> Mike
>
> Yvonne Aburrow wrote:
>
>> Hi, my Apache FOP engine keeps throwing a NullPointerException every
>> time I try to transform an XML file using a particular XSL.  (Files
>> are at <http://people.bath.ac.uk/ccsya/library/> and the offending XSL
>> is <http://people.bath.ac.uk/ccsya/library/libraryguides.xsl>.)  I'm
>> using Java 1.4.2 and have checked it works with a previous XSL.  I
>> tried validating it with the FO DTD offered by RenderX, but it was no
>> help (it threw an error at <xsl:stylesheet>).  I'm using XMLSpy
>> version 5 rel 4.
>>
>> Any help would be much appreciated
>>
>> Yvonne
>>
>> **************************************************************
>> Yvonne Aburrow         Web Developer             01225 38 6022
>> Computing Services   University of Bath   Y.Aburrow@b...
>> http://www.bath.ac.uk/bucs      http://people.bath.ac.uk/ccsya
>>
>>
>>
>> -----------------------------------------------------------------
>> The xml-dev list is sponsored by XML.org <http://www.xml.org>, an
>> initiative of OASIS <http://www.oasis-open.org>
>>
>> The list archives are at http://lists.xml.org/archives/xml-dev/
>>
>> To subscribe or unsubscribe from this list use the subscription
>> manager: <http://lists.xml.org/ob/adm.pl>
>>
>



Yvonne

**************************************************************
Yvonne Aburrow         Web Developer             01225 38 6022
Computing Services   University of Bath   Y.Aburrow@b...
http://www.bath.ac.uk/bucs       http://people.bath.ac.uk/ccsya



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
 

Stylus Studio has published XML-DEV in RSS and ATOM formats, enabling users to easily subcribe to the list from their preferred news reader application.


Stylus Studio Sponsored Links are added links designed to provide related and additional information to the visitors of this website. they were not included by the author in the initial post. To view the content without the Sponsor Links please click here.

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.