Is there a parser which can parse xml independent of dtd and xml schema structure. I mean eventhough I change xml schema (or dtd), I do not have to modify code for parsing the associated xml file.
The DOM and SAX APIs for XML parsing (part of J2SE 1.4) are not dependent on the existence of a DTD or XSD. In fact, I can't name a single parser that does require the document to be "validatable". Or did I misunderstood your question?