Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.lang.java.programmer > #11537
| From | Jeff Higgins <jeff@invalid.invalid> |
|---|---|
| Newsgroups | comp.lang.java.programmer |
| Subject | Re: Line wrapping |
| Date | 2012-01-20 17:19 -0500 |
| Organization | A noiseless patient Spider |
| Message-ID | <jfcopi$ird$2@dont-email.me> (permalink) |
| References | (4 earlier) <dsmfh7hdos2ojjmd47ub2bksfdv4im8ksr@4ax.com> <jf8u65$ukk$1@dont-email.me> <pebgh7tjstcvntnt1u5r7ol9ui3ocadql8@4ax.com> <b2hih75g29o5eisec7kmqsc90e9ejb6o60@4ax.com> <jfcolb$ird$1@dont-email.me> |
On 01/20/2012 05:17 PM, Jeff Higgins wrote:
> On 01/20/2012 05:47 AM, Mark wrote:
>> On Thu, 19 Jan 2012 14:52:58 +0000, Mark
>> <i@dontgetlotsofspamanymore.invalid> wrote:
>>
>>> On Thu, 19 Jan 2012 06:26:37 -0500, Jeff Higgins
>>> <jeff@invalid.invalid> wrote:
>>>
>>>> On 01/19/2012 04:00 AM, Mark wrote:
>>>>> I saw that comment but, as I could not find documentation for that
>>>>> parameter, I assumed that the poster was wrong. I will try it out but
>>>>> prefer to rely on documented behaviour ;-)
>>>> <http://docs.oracle.com/javase/6/docs/api/org/w3c/dom/DOMConfiguration.html>
>>>>
>>>> <http://www.w3.org/TR/2004/REC-DOM-Level-3-LS-20040407/load-save.html#LS-LSSerializer-config>
>>>>
>>>>
>>>> Here's a working example. However this does not address your request
>>>> for
>>>> a configurable pretty printer.
>>>> <http://www.chipkillmar.net/2009/03/25/pretty-print-xml-from-a-dom/>
>>
>> Is there any known bugs that might affect this (Method 2)? It is
>> throwing an Exception/Error that the documentation does not mention.
>> [java.lang.AbstractMethodError]
> Just out of curiosity, does the author's Method#3 work for you?
> Upthread you say:
>
> > So, what effect does »format.setLineSeparator(lineSep)« have,
> > > then?
> On the test data, none that I can see. i.e. it produces lines longer
> than that specified in setLineWidth()
>
> It starts to sound as if you have an incompatible implementation on your
> classpath.
^ non-default
Back to comp.lang.java.programmer | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread
Line wrapping Mark <i@dontgetlotsofspamanymore.invalid> - 2012-01-18 13:20 +0000
Re: Line wrapping Jeff Higgins <jeff@invalid.invalid> - 2012-01-18 09:51 -0500
Re: Line wrapping Mark <i@dontgetlotsofspamanymore.invalid> - 2012-01-18 16:04 +0000
Re: Line wrapping Jeff Higgins <jeff@invalid.invalid> - 2012-01-18 13:38 -0500
Re: Line wrapping Mark <i@dontgetlotsofspamanymore.invalid> - 2012-01-19 09:00 +0000
Re: Line wrapping Jeff Higgins <jeff@invalid.invalid> - 2012-01-19 06:26 -0500
Re: Line wrapping Mark <i@dontgetlotsofspamanymore.invalid> - 2012-01-19 14:52 +0000
Re: Line wrapping Mark <i@dontgetlotsofspamanymore.invalid> - 2012-01-20 10:47 +0000
Re: Line wrapping Jeff Higgins <jeff@invalid.invalid> - 2012-01-20 11:28 -0500
Re: Line wrapping Jeff Higgins <jeff@invalid.invalid> - 2012-01-20 13:33 -0500
Re: Line wrapping Lew <noone@lewscanon.com> - 2012-01-20 11:18 -0800
Re: Line wrapping Jeff Higgins <jeff@invalid.invalid> - 2012-01-20 15:45 -0500
Re: Line wrapping Jeff Higgins <jeff@invalid.invalid> - 2012-01-20 15:59 -0500
Re: Line wrapping Mark <i@dontgetlotsofspamanymore.invalid> - 2012-01-23 09:03 +0000
Re: Line wrapping Lew <noone@lewscanon.com> - 2012-01-23 10:15 -0800
Re: Line wrapping Lew <noone@lewscanon.com> - 2012-01-20 11:18 -0800
Re: Line wrapping Jeff Higgins <jeff@invalid.invalid> - 2012-01-21 02:10 -0500
Re: Line wrapping Lew <noone@lewscanon.com> - 2012-01-21 12:28 -0800
Re: Line wrapping Jeff Higgins <jeff@invalid.invalid> - 2012-01-20 17:17 -0500
Re: Line wrapping Jeff Higgins <jeff@invalid.invalid> - 2012-01-20 17:19 -0500
Re: Line wrapping Mark <i@dontgetlotsofspamanymore.invalid> - 2012-01-18 15:47 +0000
csiph-web