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

XML Specification

 
Frank Hale
Ranch Hand
Posts: 230
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Where can I find the XML specification and would this have enough information to implement my own XML parser?
Thanks,
Frank
 
Anonymous
Ranch Hand
Posts: 18944
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
hi frank,
no one in his sane mind it is said would create a parser(from XML By Example). it is a long and tedious process. instead he would use one of the free parsers available from sun, ibm etc.
for xml specification visit here www.w3c.org
regds.
Rahul
[This message has been edited by rahul_mkar (edited June 23, 2000).]
 
Frank Hale
Ranch Hand
Posts: 230
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Well what I really wanted to know was if the specification had all the information about XML in it. I don't plan to write a parser for it, but is this where other programmers get the information too write parsers for it?
Frank
 
Frank Carver
Sheriff
Posts: 6920
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I have written several XML parsers, and it's not that scary. XML is actually a nice format to parse, there are very few special cases, so parsing is straightforward.
Of particular use are small specific-use parsers which don't bother to check against the DTD for validity, and assume well-formed XML. In an applet, for example, you really don't want to include a large full-featured XML parser in the download just to parse a few simple parameter settings from an XML stream.
In a relatively large and long-running server-side application, I agree with Rahul. The benefits of using a full featured, extensively tested, externally maintained XML engine are definately worthwhile.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic