You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@ant.apache.org by bu...@apache.org on 2005/11/18 08:55:05 UTC

DO NOT REPLY [Bug 37554] New: - The 'style' task doesn't support the wrap attribute on the pre tag

DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG�
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://issues.apache.org/bugzilla/show_bug.cgi?id=37554>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND�
INSERTED IN THE BUG DATABASE.

http://issues.apache.org/bugzilla/show_bug.cgi?id=37554

           Summary: The 'style' task doesn't support the wrap attribute on
                    the pre tag
           Product: Ant
           Version: 1.6.5
          Platform: PC
        OS/Version: Windows NT
            Status: NEW
          Severity: minor
          Priority: P3
         Component: Other
        AssignedTo: dev@ant.apache.org
        ReportedBy: rdeweerd@freemail.nl


The <PRE> tag in HTML supports a WRAP attribute that will wrap lines when they
have become to long. The style task doesn't support this attribute. It stops
with these messages.
    [style] Processing C:\Trimergo-H\changelog.xml to C:\Trimergo-H\ChangeLog.html
    [style] Loading stylesheet C:\Trimergo-H\changelog.xsl
    [style] [Fatal Error] changelog.xsl:104:18: Attribute name "wrap" associated
with an element type "pre" must be followed by the ' = ' character.
    [style] : Fatal Error! org.xml.sax.SAXParseException: Attribute name "wrap"
associated with an element type "pre" must be followed by the ' = ' character.
Cause: org.xml.sax.SAXParseException: Attribute name "wrap" associated with an
element type "pre" must be followed by the ' = ' character.
    [style] Failed to process C:\Trimergo-H\changelog.xml


To reproduce the problem just use the changelog.xsl supplied with ANT and change
the <PRE> line in there to <PRE WRAP>.

-- 
Configure bugmail: http://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.

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