W3C home > Mailing lists > Public > www-talk@w3.org > May to June 2001

RE: XML, XSL problem

From: Manjula Dissanayake <mdissanayake@sri.receiptcity.com>
Date: Mon, 21 May 2001 08:02:50 -0400 (EDT)
To: "Mukul Gandhi" <mukulw3@yahoo.com>, <www-talk@w3.org>
Message-ID: <FDEEKBACGNAIGLGPJFACMEMCCBAA.mdissanayake@sri.receiptcity.com>
Hi,

According to the XSLT specification the declarations of the attributes in
your input element is not correct. Any attribute values  must be quoted
either with single or double quotes. Also try putting the read-only tag as
read-only="true".

However, I am curios how the readonly attribute could generate a null
pointer exception?

Ciao,
Manjula

-----Original Message-----
From: www-talk-request@w3.org [mailto:www-talk-request@w3.org]On Behalf
Of Mukul Gandhi
Sent: Monday, May 21, 2001 5:43 PM
To: www-talk@w3.org
Subject: XML, XSL problem


Hello ,
I have a problem. I am using XSL stylesheet to
transform XML to HTML. One particular element in XML I
am generating as form text box in HTML like <input
type=text and trying to make it readonly. I am writing
<input type=text readonly name="somename"> in XSL. I
use Oracle Java XDK, XSLT processor to do
transformation and render that page on the browser. I
am using Tomcat 3.2 webserver to view pages on
browser.

But I am getting error "Null pointer exception" on
browser. The problem is in readonly element. If I
remove readonly from <input type=text readonly
name="somename"> in stylesheet, the error does,nt
come.

Any help will be appreciated. Pl Cc reply to
mukul.gandhi@sbs.siemens.co.uk .

Regards
-mukul

__________________________________________________
Do You Yahoo!?
Yahoo! Auctions - buy the things you want at great prices
http://auctions.yahoo.com/
Received on Thursday, 24 May 2001 00:55:46 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Wednesday, 27 October 2010 18:14:26 GMT