You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@cocoon.apache.org by Felix Knecht <fe...@payserv.ch> on 2002/01/25 18:51:45 UTC

Still unsolved namespace-problem using xsp?

Trying to view the xsp sample simple.xsp, serializing type is "xml", I get
the error message, that a namespace-prefix must not begin with the reserved
string "xml"
(<page xmlns:xml="http://www.w3.org/XML/1998/namespace"....)

Can anybody reproduce this error or has a solution for it?

Felix


ps:

using jdk1.3.1_02
tomcat 4.0.2-b1
cocoon2 2.0.1-dev, latest version from cvs

to reproduce change the entry in the sitemap.xmap
...
   <map:match pattern="xsp-plain/*">
    <map:generate type="serverpages" src="docs/samples/xsp/{1}.xsp"/>
    <map:serialize />
   </map:match>
...

to

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


---------------------------------------------------------------------
To unsubscribe, e-mail: cocoon-dev-unsubscribe@xml.apache.org
For additional commands, email: cocoon-dev-help@xml.apache.org


RE: Still unsolved namespace-problem using xsp?

Posted by Vadim Gritsenko <va...@verizon.net>.
> From: Felix Knecht [mailto:felix.knecht@payserv.ch]
> 
> Trying to view the xsp sample simple.xsp, serializing type is "xml", I
get
> the error message, that a namespace-prefix must not begin with the
reserved
> string "xml"
> (<page xmlns:xml="http://www.w3.org/XML/1998/namespace"....)
> 
> Can anybody reproduce this error or has a solution for it?

Will be fixed in the next release (Very Real Soon Now). Or, stay tuned
for tomorrow's checkins.

Vadim



---------------------------------------------------------------------
To unsubscribe, e-mail: cocoon-dev-unsubscribe@xml.apache.org
For additional commands, email: cocoon-dev-help@xml.apache.org