[jdom-interest] Ampersand question

James Davies J.Davies at jacobus.co.uk
Thu Jul 13 01:16:13 PDT 2000


Hi Alex,

I'm sure you're right architecturally.  I think we should keep
'getSerializedForm' just for debugging, and (additionally) putting it in
separate debugging interface(s) would probably be cleaner.


    Regards,

    Jim

-----------------------------------------------------------------
Dr James G. Davies
Jacobus Systems Limited, London UK


----- Original Message -----
From: "Alex Chaffee" <guru at edamame.stinky.com>
To: "Jason Hunter" <jhunter at collab.net>
Cc: <tsasala at hifusion.com>; "JDOM Interests" <jdom-interest at jdom.org>
Sent: Thursday, July 13, 2000 8:40 AM
Subject: Re: [jdom-interest] Ampersand question


> > >         Shouldn't the getSerializedForm output &amp; instead
> > > of &?  The outputter class does special processing to output
> > > <, >, & as their escaped equivalents.  Am I missing something
> > > here?
> >
> > Yes, but there are 3 versions of that method right now (beta4, CVS,
> > Elliotte's web page) so which one has the problem?  :-)
>
> Any thoughts on my suggestion to remove getSerializedForm()
> altogether?  This would force people to use an XMLOutputter, with
> well-defined behavior, or roll their own.  Furthermore it would
> improve the separation between data and view.  "Serialized form" is a
> view and has no real business being in the data object.
>
>  - A
>
>
> --
> Alex Chaffee                       mailto:alex at jguru.com
> jGuru - Java News and FAQs         http://www.jguru.com/alex/
> Creator of Gamelan                 http://www.gamelan.com/
> Founder of Purple Technology       http://www.purpletech.com/
> Curator of Stinky Art Collective   http://www.stinky.com/
> _______________________________________________
> To control your jdom-interest membership:
>
http://lists.denveronline.net/mailman/options/jdom-interest/youraddr@yourhos
t.com




More information about the jdom-interest mailing list