commons-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From commons-...@jakarta.apache.org
Subject [jira] Commented: (JELLY-47) Attribute corruption when dealing with converting attributes that include namespaces
Date Tue, 31 Aug 2004 06:46:20 GMT
The following comment has been added to this issue:

     Author: dion gillard
    Created: Mon, 30 Aug 2004 11:46 PM
       Body:
Running with dom4j 1.5-rc1 and the testfiletag still fails.
---------------------------------------------------------------------
View this comment:
  http://issues.apache.org/jira/browse/JELLY-47?page=comments#action_37948

---------------------------------------------------------------------
View the issue:
  http://issues.apache.org/jira/browse/JELLY-47

Here is an overview of the issue:
---------------------------------------------------------------------
        Key: JELLY-47
    Summary: Attribute corruption when dealing with converting attributes that include namespaces
       Type: Bug

     Status: Unassigned
   Priority: Critical

    Project: jelly
 Components: 
             core / taglib.core
   Fix Fors:
             1.0-beta-4

   Assignee: 
   Reporter: Ben Walding

    Created: Sat, 12 Apr 2003 7:40 AM
    Updated: Mon, 30 Aug 2004 11:46 PM

Description:
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



---------------------------------------------------------------------
JIRA INFORMATION:
This message is automatically generated by JIRA.

If you think it was sent incorrectly contact one of the administrators:
   http://issues.apache.org/jira/secure/Administrators.jspa

If you want more information on JIRA, or have a bug to report see:
   http://www.atlassian.com/software/jira


---------------------------------------------------------------------
To unsubscribe, e-mail: commons-dev-unsubscribe@jakarta.apache.org
For additional commands, e-mail: commons-dev-help@jakarta.apache.org


Mime
View raw message