Validating dom parser
Namespaces are a mechanism to resolve or avoid name collisions between element types or attributes in XML documents by providing "universal" names. to set the parser mode to validating or nonvalidating.
In general, the advantage of JAXP is that you can use it to write interoperable applications.If an application uses features available through JAXP, then it can very easily switch the implementation.The main disadvantage of JAXP is that it runs more slowly than vendor-specific APIs.The serialized stream regenerates the DOM tree when read back.The SAX parser generates a compressed stream when it parses an XML file.
In this article, i am going to use the Swing for the UI purpose and for the XML validation against its schema i will use DOM parser as well as SAX Parser.