commons-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Ben Walding <default0...@walding.com>
Subject [jelly] attribute corruption with core file tag
Date Sat, 12 Apr 2003 08:10:28 GMT
It seems like there is attribute corruption when dealing with converting 
attributes that include namespaces.

(It might be that my understanding on namespaces is a bit wrong, but I 
still think jelly is broken)

Essentially, the script

<j:jelly xmlns:j="jelly:core">
    <j:file name="target/testFileTag.tmp" outputMode="html">
      <html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
      </html>
    </j:file>
</j:jelly>


is creating a file with the content (not even valid XML)

<html xmlns="http://www.w3.org/1999/xhtml lang="en"></html>


when I would expect it to produce something like

<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en"></html>

I have included tests cases and scripts for this scenario

Cheers,


Ben

Mime
View raw message