• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Liutauras Vilda
  • Jeanne Boyarsky
  • Devaka Cooray
  • Paul Clapham
Sheriffs:
  • Tim Cooke
  • Knute Snortum
  • Bear Bibeault
Saloon Keepers:
  • Ron McLeod
  • Tim Moores
  • Stephan van Hulst
  • Piet Souris
  • Ganesh Patekar
Bartenders:
  • Frits Walraven
  • Carey Brown
  • Tim Holloway

XML Specification

 
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
 
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
 
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.
 
Don't get me started about those stupid light bulbs.
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!