cocoon-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From David Crossley <cross...@indexgeo.com.au>
Subject Re: whitespace cleanup and efficiency drive
Date Tue, 18 Nov 2003 09:57:08 GMT
Vadim Gritsenko wrote:
> David Crossley wrote:
> >Joerg Heinicke wrote: 
> >
> >>The result of this thread: let's care only about white spaces.
> >
> >So now we need a policy. Here is my proposal:
> >
> >For all text files
> >- Replace all tabs with spaces.
> >- No trailing whitespace.
> >- No M$-DOS line endings.
> >- Newline at end-of-file.
> >- Single whitespace between words.
> >
> >For cvs/**.java
> >- Use 4-space indentation.
> >
> >For cvs/**.xml|xmap|xconf etc.
> >- Use 2-space indentation.
> >- No whitespace at start-of-file.
> 
> All of the above is either common sense or even more (like the last one: 
> XML won't be XML if starts with whitespace (see spec)), and should be 
> enforced as soon as you find an issue.
> 
> >- No whitespace at end-of-file.
> 
> Newline should be ok, right?

Okay, i added a new document at the top-level site to note this policy.
http://cocoon.apache.org/community/committer.html

--David



Mime
View raw message