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>

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

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


-----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

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

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


Do You Yahoo!?
Yahoo! Auctions - buy the things you want at great prices
Received on Thursday, 24 May 2001 00:55:46 UTC

This archive was generated by hypermail 2.4.0 : Monday, 20 January 2020 16:08:25 UTC