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: [EMAIL PROTECTED]


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: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to