cocoon-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Anouk Udressy" <udn...@freesurf.ch>
Subject Problem with Cocoon and namespace
Date Mon, 18 Sep 2000 20:23:53 GMT
Hi,

I would like to use Cocoon for transform XML file to WML and display the
result with the Nokia Developpement toolkit.
My problem is the following :
When I use namespaces in my XSL file*, the Nokia developpement toolkit
display the following error :
"Attribute is not declared". Then, I can modifiy the source directly in the
NDK, I remove all the name space** and it's work !

* like this :
<?xml version="1.0" encoding="iso-8859-1"?>
<xsl:stylesheet  version="1.0"
      xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
      xmlns:fo="http://www.w3.org/1999/XSL/Format"
      xmlns:lng="http://toto.com/languages/1.0"
      xmlns:lnk="http://toto.com/links/1.0"
      xmlns:trl="http://toto.com/translations/1.0">

** like this II :
<wml xmlns:fo="http://www.w3.org/1999/XSL/Format"
      xmlns:lng="http://toto.com/languages/1.0"
      xmlns:lnk="http://toto.com/links/1.0"
      xmlns:trl="http://toto.com/translations/1.0">
become
<wml>

If I remove the namespace directly in the XSL file, the Nokia Developpement
toolkit display the following error : "MIME type text/html is not
supported".

Remark : I use Xalan 1.2.

What can I do ?

Thanks in advance,

Anouk



Mime
View raw message