You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@commons.apache.org by ji...@codehaus.org on 2003/09/09 17:56:19 UTC

[jira] Updated: (JELLY-47) Attribute corruption when dealing with converting attributes that include namespaces

The following issue has been updated:

    Updater: Morgan Delagrange (mailto:mdelagra@yahoo.com)
       Date: Tue, 9 Sep 2003 10:56 AM
    Changes:
             timeoriginalestimate changed from 0
             timeestimate changed from 0 minutes
             Fix Version changed to 1.0-beta-4
    ---------------------------------------------------------------------
For a full history of the issue, see:

  http://jira.codehaus.org/secure/ViewIssue.jspa?key=JELLY-47&page=history

---------------------------------------------------------------------
View the issue:

  http://jira.codehaus.org/secure/ViewIssue.jspa?key=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: Major

 Time Spent: Unknown
  Remaining: Unknown

    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: Tue, 9 Sep 2003 10:56 AM

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://jira.codehaus.org/secure/Administrators.jspa

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