Fomatting question serializing DOM with pretty-print 2007-06-29 - By Henry Zongaro
Hi, Eric.
Eric Kolotyluk <eric.kolotyluk@(protected)> wrote on 2007-06-29 10:54:22 AM: > The first obvious problem is that the first element of our document does not > have a linebreak before it - it's on the same line as the <?XML ... ?>
This sounds like it qualifies as a bug. Please open a bug report in Jira.[1]
> The second obvious problem is that element with a long list of attributes > are not wrapped and indented. They should be wrapped after some reasonable > line limit (i.e. 60, 80, 100 characters - pick one). It would be nice if > there was a way to specify this through the API. Also, when they are > wrapped, they should be intented.
That sounds like a good suggestion. Please open that as an improvement in Jira.[1]
Thanks,
Henry [1] http://issues.apache.org/jira/secure/CreateIssue!default.jspa ------------------------------------------------------------------ Henry Zongaro XSLT Processors Development IBM SWS Toronto Lab T/L 969-6044; Phone +1 905 413-6044 mailto:zongaro@(protected)
<br><tt><font size=2>Hi, Eric.</font></tt> <br> <br><tt><font size=2>Eric Kolotyluk <eric.kolotyluk@(protected)> wrote on 2007-06-29 10:54:22 AM:</font></tt> <br><tt><font size=2>> The first obvious problem is that the first element of our document does not<br> > have a linebreak before it - it's on the same line as the <?XML ... ?><br> </font></tt> <br><tt><font size=2>This sounds like it qualifies as a bug. Please open a bug report in Jira.[1]</font></tt> <br><tt><font size=2><br> > The second obvious problem is that element with a long list of attributes <br> > are not wrapped and indented. They should be wrapped after some reasonable <br> > line limit (i.e. 60, 80, 100 characters - pick one). It would be nice if<br> > there was a way to specify this through the API. Also, when they are<br> > wrapped, they should be intented.</font></tt> <br> <br><tt><font size=2>That sounds like a good suggestion. Please open that as an improvement in Jira.[1]</font></tt> <br><tt><font size=2><br> Thanks,<br> <br> Henry</font></tt> <br><tt><font size=2>[1] http://issues.apache.org/jira/secure/CreateIssue !default.jspa<br> ------------------------------------------------------------------<br> Henry Zongaro XSLT Processors Development<br> IBM SWS Toronto Lab T/L 969-6044; Phone +1 905 413-6044<br> mailto:zongaro@(protected)</font></tt> <br>
|
|