This week's book giveaway is in the OCPJP forum.
We're giving away four copies of OCA/OCP Java SE 7 Programmer I & II Study Guide and have Kathy Sierra & Bert Bates 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


Win a copy of OCA/OCP Java SE 7 Programmer I & II Study Guide this week in the OCPJP forum!
JavaRanch » Java Forums » Engineering » XML and Related Technologies
Bookmark "Determining Proper Grammar" Watch "Determining Proper Grammar" New topic
Author

Determining Proper Grammar

Ken Rubin
Ranch Hand

Joined: Mar 08, 2004
Posts: 66
Hello,

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,

Ken
Paul Sturrock
Bartender

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
Paul,

Thank you. I will look into these.

Best Wishes,

Ken
 
Consider Paul's rocket mass heater.
 
subject: Determining Proper Grammar