Schema vs DTD (original) (raw)

Alright - so I'm about to write a Java app - probably with a web interfact via servlet or JSP or something.

It needs to read an XML Schema or DTD to get the parameters it needs for the next step.

But I'm confused as to whether I should use a Schema or a DTD - what are the pros and cons of each?

[Edit - thanks guys - I think given the project, that an XML Schema is more along the lines of what I need]

I'm following this tutorial on the netbeans website for a simpleEE7App. I followed the instructions precisely but got an exception need help. :/…

anyone here?

It seems that you can override a concrete method and make it abstract. I actually came across some code that did this, so I had to check how it…