Win a copy of Mesos in Action this week in the Cloud/Virtualizaton forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

[ Suggestion ] A simple validateable file format

 
Pho Tek
Ranch Hand
Posts: 782
Chrome Python Ubuntu
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi,

Other than XML (XML Schema), what other file formats can I use such that I can validate its structure and contents via some schema file ? Merci.

Thanks
[ January 24, 2005: Message edited by: Pho Tek ]
 
Jeroen Wenting
Ranch Hand
Posts: 5093
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Roll your own?
 
Stan James
(instanceof Sidekick)
Ranch Hand
Posts: 8791
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
XML is a subset of Standard General Markup Language (or something real close to that). SGML is a nasty thing, but I'd bet there are grammars and validators out there.

Roll your own could be fun. You can define grammars and make parsers to validate them. It's a whole other world when you get into that stuff ... I wouldn't try to become expert in it unless I thought there was a career waiting. Look at ANTLR for a start.

I'm curious why you're asking?
[ January 25, 2005: Message edited by: Stan James ]
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic