[xsl] BUG - xalan-j D7 - document()

Subject: [xsl] BUG - xalan-j D7 - document()
From: "Robert Koberg" <rob@xxxxxxxxxx>
Date: Sun, 29 Jul 2001 12:05:30 -0700
When returning a text/xml stream with a servlet to the document function
there is an error saying that the document must be well-formed. In testing
the servlet to see what it is returning I see the follwoing:
1. In IE5+ (mac and win) - servlet returns a text/xml file that is displayed
with IE's default XSL (tree)
2. In Nav4.7 (Linux) - servlet returns a text/xml that and the browser asks
if you want to save the text/xml file.  When you look at the saved file it
is a simple xml document, for example:
    <para>boo boo boo</para>
When I use the servlet's output in a client-side transformation with IE
(calling the servlet with an MS XML data island), it works as expected.
Here is the XSL I am using for xalan-j:
   select="concat('http://', $http-server, $context,

Am I doing something wrong? Is there a way to work around this? If someone
would like to test the servlet's result in their own setup I can open it up
and give you a url that will return a docbook xml document.


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

Current Thread