Dear Group

I've just started looking at Release 2.0

Looking at the output of xsp pages, they now include the namespace for xml,
i.e.
xmlns:xml="http://www.w3.org/XML/1998/namespace";

This results in the following behaviour in IE5.5 ...

The XML page cannot be displayed
Cannot view XML input using XSL style sheet. Please correct the error and
then click the Refresh button, or try again later.


----------------------------------------------------------------------------
----

The namespace prefix is not allowed to start with the reserved string "xml".
Line 2, Position 7


<page xmlns:xml="http://www.w3.org/XML/1998/namespace";

... whereas before - event with c2rc2 there appeared the helpful nested tree
structure.

To replicate, try adding

   <map:match pattern="xsp-plain-xml/*">
    <map:generate type="serverpages" src="docs/samples/xsp/{1}.xsp"/>
    <map:serialize type="xml"/>
   </map:match>
after
   <map:match pattern="xsp-plain/*">
    <map:generate type="serverpages" src="docs/samples/xsp/{1}.xsp"/>
    <map:serialize/>
   </map:match>

in the sitemap
and try http://localhost:8080/cocoon/xsp-plain-xml/simple


A few questions ...

Is IE5.5 right to say <<The namespace prefix is not allowed to start with
the reserved string "xml".>> ?

Does IE6 or another browser allow xml with this namespace decl to be
displayed in a tree structure ?

Is there a way of supressing this namespace decl in release 2.0 ?

Any thanks gratefully received

Christopher


---------------------------------------------------------------------
Please check that your question has not already been answered in the
FAQ before posting. <http://xml.apache.org/cocoon/faqs.html>

To unsubscribe, e-mail: <[EMAIL PROTECTED]>
For additional commands, e-mail: <[EMAIL PROTECTED]>

Reply via email to