You are viewing a plain text version of this content. The canonical link for it is here.
Posted to j-dev@xerces.apache.org by bu...@apache.org on 2003/08/15 21:51:18 UTC

DO NOT REPLY [Bug 22472] New: - With setIndenting(true), last attribute is never wrapped

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

http://nagoya.apache.org/bugzilla/show_bug.cgi?id=22472

With setIndenting(true), last attribute is never wrapped

           Summary: With setIndenting(true), last attribute is never wrapped
           Product: Xerces2-J
           Version: 2.5.0
          Platform: All
        OS/Version: All
            Status: NEW
          Severity: Normal
          Priority: Other
         Component: Serialization
        AssignedTo: xerces-j-dev@xml.apache.org
        ReportedBy: gordongano99@yahoo.com


I'm using XMLSerializer, and my OutputFormat has setIndenting(true). The last 
attribute (or namespace declaration) in an element never gets wrapped to the 
next line:

<?xml version="1.0"?>
<aaa>
    <bbb att1="abcdefghijklmnopqrstuvwxyz"
        att2="abcdefghijklmnopqrstuvwxyz"
        att3="abcdefghijklmnopqrstuvwxyz"
        att4="abcdefghijklmnopqrstuvwxyz"
        att5="abcdefghijklmnopqrstuvwxyz" att6="abcdefghijklmnopqrstuvwxyz"/>
</aaa>

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