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

RE: XML from JSP

Subject: RE: XML from JSP
From: sara.mitchell@xxxxxxxxx
Date: Fri, 15 Nov 2002 16:36:10 -0500
xml compliant jsp
The JSP directive: 


> -----Original Message-----
> <%
> String block = "work";
> %>

is not well-formed XML. The XML parser expects 
that anything beginning with < represents
XML markup. (Note: parsers don't compile 
XML, they parse it.)

To make it well-formed, you need to have the 
JSP directive inside a CDATA marked section
like this: 

<![CDATA[<%
 String block = "work";
 %>]]>

**or use the XML compliant JSP syntax**. 
In most cases, JSP has XML compliant syntax 
and with that both the XML parser will be 
happy and your JSP page will compile. 

Sara Mitchell

 XSL-List info and archive:  http://www.mulberrytech.com/xsl/xsl-list


Current Thread
  • XML from JSP
    • Gavin Myers - Fri, 15 Nov 2002 15:26:03 -0500 (EST)
      • <Possible follow-ups>
      • sara . mitchell - Fri, 15 Nov 2002 16:23:02 -0500 (EST) <=
        • Mike Brown - Fri, 15 Nov 2002 19:11:00 -0500 (EST)
        • Mike Brown - Fri, 15 Nov 2002 19:21:52 -0500 (EST)

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.