You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@commons.apache.org by co...@jakarta.apache.org on 2004/09/02 07:49:51 UTC

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

Message:

   The following issue has been re-assigned.

   Assignee: dion gillard (mailto:dion@apache.org)
---------------------------------------------------------------------
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: Open
   Priority: Critical

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

   Assignee: dion gillard
   Reporter: Ben Walding

    Created: Sat, 12 Apr 2003 7:40 AM
    Updated: Wed, 1 Sep 2004 10:49 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