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/08/31 07:24:21 UTC

[jira] Commented: (JELLY-26) xml:file produces very bad output

The following comment has been added to this issue:

     Author: dion gillard
    Created: Mon, 30 Aug 2004 10:23 PM
       Body:
Is this issue still occurring?

Do you have a small test we can use?
---------------------------------------------------------------------
View this comment:
  http://issues.apache.org/jira/browse/JELLY-26?page=comments#action_37943

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

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

     Status: Reopened
   Priority: Critical

    Project: jelly
 Components: 
             taglib.xml

   Assignee: peter royal
   Reporter: Paul Libbrecht

    Created: Tue, 28 Jan 2003 6:51 PM
    Updated: Mon, 30 Aug 2004 10:23 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://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