This week's book giveaway is in the Mac OS forum.
We're giving away four copies of a choice of "Take Control of Upgrading to Yosemite" or "Take Control of Automating Your Mac" and have Joe Kissell on-line!
See this thread for details.
The moose likes XML and Related Technologies and the fly likes Determining Proper Grammar 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 "Determining Proper Grammar" Watch "Determining Proper Grammar" New topic

Determining Proper Grammar

Ken Rubin
Ranch Hand

Joined: Mar 08, 2004
Posts: 66

Which API would you use to parse XML data that was grammar based? A fundamental need is that if a message does not
match a set of grammar rules (defined in applic.), the application indicates that it cannot be parsed.

Any information is greatly appreciated.

Thank you,

Paul Sturrock

Joined: Apr 14, 2004
Posts: 10336

You can use DTDs or the more powerful XSD specifications for this task.

JavaRanch FAQ HowToAskQuestionsOnJavaRanch
Ken Rubin
Ranch Hand

Joined: Mar 08, 2004
Posts: 66

Thank you. I will look into these.

Best Wishes,

GeeCON Prague 2014
subject: Determining Proper Grammar