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

RE: Tomcat serving XSLT confuses Netscape?

Subject: RE: Tomcat serving XSLT confuses Netscape?
From: "Jeffrey Winter" <JeffreyWinter@xxxxxxx>
Date: Mon, 5 May 2003 15:12:25 -0400
tomcat xslt
The content-type on the XSL mUST be either text/xml or application/xml.
Check out Mozilla's XSLT page:


http://www.mozilla.org/projects/xslt/


Frequently Asked Questions

1. Why isn't my stylesheet applied?

Make sure the mime type for both source and stylesheet are set to a XML
mimetype, 	namely text/xml or application/xml. The XSLT namespace
is http://www.w3.org/1999/XSL/Transform. Mime type handling in Mozilla
is strict, in contrast to IE. Write some cgi, and you'll love it.



.. -----Original Message-----
.. From: Tim Darling [mailto:tdarling@xxxxxxxxxxx] 
.. Sent: Monday, May 05, 2003 11:20 AM
.. To: xsl-list@xxxxxxxxxxxxxxxxxxxxxx
.. Subject: Re:  Tomcat serving XSLT confuses Netscape?
.. 
.. 
.. 
.. Thanks for both responses.  Now I have:
.. 
.. http://ecedbdev.eng.umd.edu:8080/ece/facultyAndStaff/1.xml.jsp
.. has content-type: text/xml
.. 
.. and
.. http://ecedbdev.eng.umd.edu:8080/ece/facultyAndStaff/1.xsl
.. has content-type: text/xsl
.. 
.. But Netscape 7.0 still won't display 1.xml.jsp  as HTML.  
.. Why ?  Thanks
.. 
.. 
.. 
.. > Date: Fri, 02 May 2003 10:52:50 -0600
.. > From: Rick Taylor <taylor@xxxxxxxx>
.. > Subject: Re:  Tomcat serving XSLT confuses Netscape?
.. >
.. > Tim,
.. >
.. > Notice the Content-Type: text/plain
.. > The page is being served up as text and Netscape is interpreting it
.. > correctly as such.
.. > You might check the mime-mapping in tomcat 'conf\web.xml'? 
.. to make sure
.. > that .xml is mapped as xml.
.. >
.. > rick
.. >
.. > At 12:21 PM 5/2/03 -0400, you wrote:
.. >
.. > >I have 2 indentical XML + XSLT files on 2 different servers.  Both
.. > produce
.. > >a nice HTML doucment with IE.  But only the first one 
.. works in Netscape
.. > >7.02.  The first one is Apache+FrontPage.  The second is Tomcat.
.. > >Why won't the Tomcat page work!?
.. > >
.. > >These are the files  (and the full HTTP responses):
.. > >Has anyone seen this before? Thanks -T
.. 
.. 
.. 
..  XSL-List info and archive:  http://www.mulberrytech.com/xsl/xsl-list
.. 
.. 

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


Current Thread

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.