• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Defining standards in XML

 
Jamie Burrell
Greenhorn
Posts: 3
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 5040
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 192
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic