AW: XML/XSL issue with Oracle AS 10g

"Bernhard Woehrlin" <[email protected]> Thu, 24 Feb 2005 16:47:07 +0100
Newsgroups gmane.comp.java.strutscx.user
Organization IT.CappuccinoNet.com
Message-ID <003101c51a88$1c67db50$4b01a8c0@javaws>
Hi Sagar,

 

Quick and dirty: Have you tried to put a spacer in between
<textarea></textarea>, i.e.

<textarea> </textarea> or if this won’t work <textarea>&nbsp;</textarea> or
<textarea>&#032;</textarea>…?

 

Consider to use search/replace by using regular expression (easy to do so
with Eclipse).

 

Does this solve the problem?

 

Regards,

 

Berny

 

 

 

 

-----Ursprüngliche Nachricht-----
Von: [email protected]
[mailto:[email protected]] Im Auftrag von Sagar
Gudala
Gesendet: Donnerstag, 24. Februar 2005 16:28
An: [email protected]
Betreff: [Strutscx-user] XML/XSL issue with Oracle AS 10g

 

Hi, 

We are developing an application using StrutsCX (Castor XML) XML framework. 
on Oracle Application Server 10g Enterprise Edition. 

We encounter the following problem while transforming XML document into
XHTML using XSLs. 

Here is the scenario: 

If we have a form that has a blank textarea, which is typically given in XSL
as follows: 

<textarea name="comments" rows="5" cols="50"></textarea> 

 

But its getting  transformed as follows: 

<textarea name="txt1" rows="5" cols="50"/> 

Its giving improper html page in both IE 6, and Netscape 6 (but working fine
in Opera 7.54) 

In IE 6.0.2 & Netscape 7.2: 
From the textarea tag, rest of the html code is shown inside the textarea. 

In Netscape 4.77: 
Its not rendering the textarea at all. 

In the similar sense, the following javascript link also giving weird
errors. 
<script Language="javascript" src="javascript\validations.js"/> 

Typically this has to be rendered as its given in xsl: 
<script Language="javascript" src="javascript\validations.js"></script> 

When we deployed the same application on Tomcat 4.1.3 and JBoss 3.2.4 we did
not encounter this kind of issues. 

 

Please provide us some work around to get the job done with less amount of
code changes. 
We have a huge set of XSL & Java files to change. 

Thanks 
-Sagar