aspose file tools*
The moose likes XML and Related Technologies and the fly likes Defining standards in XML Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Engineering » XML and Related Technologies
Bookmark "Defining standards in XML" Watch "Defining standards in XML" New topic
Author

Defining standards in XML

Jamie Burrell
Greenhorn

Joined: Oct 05, 2004
Posts: 3
Hi all,

I'm a first time writer, long time reader, and I have a question for you all.
Does anyone know of any efforts to define coding standards using XML? Be aware here, I definitely mean using XML, as opposed to standards for (as in "while using") XML.

For example, we'd like to define standards across a multidisciplinary shop. We use lots of things, from Java, through Oracle, even some MS products, and a lot of them share common guidelines:
"Each indent is two characters"
"Use spaces, never tabs"
"Open block brace to sit on separate line"

That sort of thing. I've been looking around, but can't find anything. I'm a bit wary of going in and creating my own schema/DTD without making 100% sure I'm not reinventing the wheel, but this is as far as I got with an XML doc in a couple of minutes, but it lacks rigidity - it may as well me HTML.
Let me know any thoughts, please!

J

Madhav Lakkapragada
Ranch Hand

Joined: Jun 03, 2000
Posts: 5040
Jamie,

Good to see that you finally gave in to the craving to post.

This is a very interesting problem. I personally have never come across
any such standard, but then I am limited by my not so bright knowledge.

- m
Arun Prasath
Ranch Hand

Joined: Sep 17, 2003
Posts: 192
I dont know whether this might be of any help to you.
But just an information.
In Eclipse, coding style can be customized and this customized coding standards can be exported as XML file. Which can be used by others in their eclipse. We define coding standard and this standards defining xml file is used across the team.


SCJP 1.4, SCDJWS , SCJA<br />I can do ALL things through CHRIST who strengthens me.
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Defining standards in XML
 
Similar Threads
XSL and XSLT
blank lines after calling removeChild(Node)
Using XML for string message
some notes on xml
SCJP1.5