cocoon-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From TREGAN Fabien <>
Subject IE / NS don't reconize my XML output as XML
Date Tue, 12 Mar 2002 08:04:55 GMT
I use this serializer :

<component-instance name="xml"

in this pipeline :

<map:match pattern="*.xml">
	<map:generate src="xml/{1}.xml"/>
	<map:serialize name="xml"/>

and xml/file.xml contains :

<?xml version='1.0' encoding='UTF-8'?>
	this is a test.

I can acces cocoon/myapp/file.xml, but both IE and NS display them as an
HTML file (display only 'this is a test').
If I use 'view source', the <tag> test is ok, but the PI (<?xml
version='1.0' encoding='UTF-8'?>) vanished.

if I try the same test with a .svg file and the SVG/JPEG serializer, both
browsers reconize the output as an image and display it properly.

I tryed stoping / starting Tomcat, refreshing, deleting work directory, no
luck... I must use an xml2xhtml transformer in order to see my results...

any idea ?

[Tomcat 4.0.1, 10 days old CVS, IE 5.5, NS 6.]

Please check that your question has not already been answered in the
FAQ before posting. <>

To unsubscribe, e-mail: <>
For additional commands, e-mail: <>

View raw message