This week's book giveaway is in the Design forum.
We're giving away four copies of Building Microservices and have Sam Newman 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 Building Microservices this week in the Design 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’ve looked at a lot of different solutions, and in my humble opinion Aspose is the way to go. Here’s the link:
subject: Determining Proper Grammar
It's not a secret anymore!