File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
The moose likes XML and Related Technologies and the fly likes XML Specification 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 "XML Specification" Watch "XML Specification" New topic

XML Specification

Frank Hale
Ranch Hand

Joined: Mar 25, 2000
Posts: 230
Where can I find the XML specification and would this have enough information to implement my own XML parser?
Ranch Hand

Joined: Nov 22, 2008
Posts: 18944
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
[This message has been edited by rahul_mkar (edited June 23, 2000).]
Frank Hale
Ranch Hand

Joined: Mar 25, 2000
Posts: 230
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 Carver

Joined: Jan 07, 1999
Posts: 6920
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.

Read about me at ~ Raspberry Alpha Omega ~ Frank's Punchbarrel Blog
I agree. Here's the link:
subject: XML Specification