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 Determining Proper Grammar Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login

Win a copy of RabbitMQ in Depth this week in the Open Source forum!
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,

I agree. Here's the link:
subject: Determining Proper Grammar