The following comment has been added to this issue:

     Author: Paul Libbrecht
    Created: Thu, 13 Nov 2003 11:01 AM
       Body:
Grumpfs, it's back !
(I can't seem to be able to re-open it).

The reason is jelly-tags/tag-project.xml which had such a dependency on 
dom4j-1.4-dev8...

Of course, this only occurs if you do use these dependencies. My Jellypack is... and 
hence I found. Presumably some tests should get it but this may be missing...

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

  http://jira.codehaus.org/secure/ViewIssue.jspa?key=JELLY-26


Here is an overview of the issue:
---------------------------------------------------------------------
        Key: JELLY-26
    Summary: xml:file produces very bad output
       Type: Bug

     Status: Resolved
   Priority: Critical
 Resolution: FIXED

 Time Spent: Unknown
  Remaining: 1 day

    Project: jelly
 Components: 
             taglib.xml

   Assignee: peter royal
   Reporter: Paul Libbrecht

    Created: Tue, 28 Jan 2003 6:51 PM
    Updated: Thu, 4 Sep 2003 4:26 PM
Environment: Running the XML tag-library using org.apache.commons.jelly.Jelly command 
with XML content of any kind. Outputting in XML or HTML format.

Description:
<xml:file> elements has the following two majors bugs:
-> namespace declarations, at least at the end of an element declaration, have an 
opening quote but no closing one !
-> when choosing the prettyPrint = "yes"... the words get cut in the middle!

The work-around for the first is currently to run:
sed 's/xmlns\([^=]*\)="\([^>]*\)>/xmlns\1="\2">/g' < bad > ok

Is it a dom4j bug ?? Not sure !

PS: don't trust my time estimate... I have not gone inside dom4j to know it.


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


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to