Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.lang.java.programmer > #11537

Re: Line wrapping

Path csiph.com!x330-a1.tempe.blueboxinc.net!usenet.pasdenom.info!aioe.org!eternal-september.org!feeder.eternal-september.org!mx04.eternal-september.org!.POSTED!not-for-mail
From Jeff Higgins <jeff@invalid.invalid>
Newsgroups comp.lang.java.programmer
Subject Re: Line wrapping
Date Fri, 20 Jan 2012 17:19:23 -0500
Organization A noiseless patient Spider
Lines 37
Message-ID <jfcopi$ird$2@dont-email.me> (permalink)
References <kjhdh7lginolc5q0huf9oi9ippqost583f@4ax.com> <jf6lq0$9hg$1@dont-email.me> <p9rdh75evr17ooiundo5k0kigdv83fuaup@4ax.com> <jf734u$qfi$1@dont-email.me> <dsmfh7hdos2ojjmd47ub2bksfdv4im8ksr@4ax.com> <jf8u65$ukk$1@dont-email.me> <pebgh7tjstcvntnt1u5r7ol9ui3ocadql8@4ax.com> <b2hih75g29o5eisec7kmqsc90e9ejb6o60@4ax.com> <jfcolb$ird$1@dont-email.me>
Mime-Version 1.0
Content-Type text/plain; charset=ISO-8859-1; format=flowed
Content-Transfer-Encoding 8bit
Injection-Date Fri, 20 Jan 2012 22:10:58 +0000 (UTC)
Injection-Info mx04.eternal-september.org; posting-host="qwFw1g9RsQ6TkML5yezG9A"; logging-data="19309"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX19Ojq+KaBlCULJ0H6911hGbgZv8zI7E2Kk="
User-Agent Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.9.1.16) Gecko/20111110 Icedove/3.0.11
In-Reply-To <jfcolb$ird$1@dont-email.me>
Cancel-Lock sha1:2dGReo8ZHuYc4ZhQMx1ChDVJ/kE=
Xref x330-a1.tempe.blueboxinc.net comp.lang.java.programmer:11537

Show key headers only | View raw


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 | NextPrevious in thread | Next in thread | Find similar | Unroll thread


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