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


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

Re: Line wrapping

From Jeff Higgins <jeff@invalid.invalid>
Newsgroups comp.lang.java.programmer
Subject Re: Line wrapping
Date 2012-01-20 11:28 -0500
Organization A noiseless patient Spider
Message-ID <jfc470$o9e$1@dont-email.me> (permalink)
References (3 earlier) <jf734u$qfi$1@dont-email.me> <dsmfh7hdos2ojjmd47ub2bksfdv4im8ksr@4ax.com> <jf8u65$ukk$1@dont-email.me> <pebgh7tjstcvntnt1u5r7ol9ui3ocadql8@4ax.com> <b2hih75g29o5eisec7kmqsc90e9ejb6o60@4ax.com>

Show all headers | View raw


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]

Runs as expected for me using the authors source and example xml, 
located here:

<http://www.chipkillmar.net/wp-content/uploads/2009/03/pretty-print-xml-src.jar>

and using this Java:
java version "1.6.0_18"
OpenJDK Runtime Environment (IcedTea6 1.8.10) (6b18-1.8.10-0+squeeze2)
OpenJDK Client VM (build 14.0-b16, mixed mode, sharing)

the docs say "shouldn't happen at runtime, except ..."
<http://docs.oracle.com/javase/6/docs/api/java/lang/AbstractMethodError.html>

there are no Uses listed here:
<http://docs.oracle.com/javase/6/docs/api/java/lang/class-use/AbstractMethodError.html>

stacktrace?

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