I agree with you Dale. DTD or XSD files enforce schema once you define it, based on your problem domain. I think Zhnag's wants to create generic Java classes to parse XML files. He is trying to create XML library or XmlUtils class for his project, so all developers can us it.

Andrew Pliszka

Dale Newfield wrote:

Andrew Pliszka wrote:

When I talk about generic schema I am mean domain specific schema


How is that different from a DTD?

Pretty much any xml format that you intend to use heavily should be well defined enough for you to generate one, and then you can easily have the parsers validate anything you try to read in...

-Dale

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]






---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to