Re: [VOTE] XML formatting

Thilina Gunarathne <[email protected]>
Newsgroups gmane.comp.apache.webservices.general
Message-ID <[email protected]>
+1 for formatting & 4 spaces.

thanks,
Thilina

On Wed, Mar 11, 2009 at 10:18 AM, Tom Jordahl <[email protected]> wrote:

> +1 for 4 space formatting.  Consistent and strict code (and XML) formatting
> is a very good thing for shared projects.  Considering we have tools (IDEA)
> that make the work trivial, the time invested is worth the gain in
> readability.
>
>
> Tom Jordahl
>
> -----Original Message-----
> From: Glen Daniels [mailto:[email protected]]
> Sent: Tuesday, March 10, 2009 5:49 PM
> To: [email protected]
> Subject: Re: [VOTE] XML formatting
>
> +1 Benson, that's exactly the reason for my vote.
>
> I don't actually love reformatting as I'm making changes because to be
> polite, one should really reformat, commit, and /then/ make your real
> changes so that those reading the commit diffs can actually see what you
> did.  So the proposal is just to do a blanket reformat of the POMs now
> so they're all clean and easy to edit.  We don't have to force this on
> every project, but I'd like to do at least Axis2, Axiom, Neethi,
> XmlSchema, Transports, Rampart, and Sandesha.
>
> Thanks,
> --Glen
>
> Benson Margulies wrote:
> > I respectfully disagree. A messy file makes it much harder to make
> > correct edits. Without or without a vote, when I pull an XML file into
> > an editor and it is inconsistently indented, I take the 30 seconds it
> > takes to reformat it before I do anything else. Since Glen has to edit
> > all these POMs anyway, it seems reasonable to me for him to neaten
> > them up.
> >
> >
> > On Tue, Mar 10, 2009 at 5:26 PM, Jochen Wiedmann
> > <[email protected]> wrote:
> >> On Tue, Mar 10, 2009 at 10:07 PM, Glen Daniels <[email protected]>
> wrote:
> >>
> >>> Some of our POMs are a real mess, though.... do you care if they get
> >>> reformatted to look nicer?
> >> If lack of formatting is what makes them a mess, then I disagree that
> >> they are. Otherwise, I think that there is more important work to do.
> >>
> >> Jochen
> >>
> >>
> >> --
> >> I have always wished for my computer to be as easy to use as my
> >> telephone; my wish has come true because I can no longer figure out
> >> how to use my telephone.
> >>
> >>    -- (Bjarne Stroustrup,
> >> http://www.research.att.com/~bs/bs_faq.html#really-say-that<http://www.research.att.com/%7Ebs/bs_faq.html#really-say-that>
> >>       My guess: Nokia E50)
> >>
>



-- 
Thilina Gunarathne  - http://thilinag.blogspot.com
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.