I am moving my project JDK version from 1.5 to 1.6.16 and encountered a problem with XML parsing Exception in JDK 1.6.16 (BUG-ID). My application is having extensive use of XML as we are having UI framework and XML language is used for EXT-JS UI Generation.
After my investigation on the issue I came across a bug assigned in JDK bug tracker  for the same. I solved my issue by upgrading the JDK version from JDK 1.6.16 to  JDK 1.6.21.
The issue with JDK 1.6.16: This version is not supporting attribute level configuration in XML file, and fixed in JDK 1.6.21 and newer versions.

Exception log is :
nu.xom.ParsingException: cvc-complex-type.3.2.2: Attribute 'title' is not allowed to appear in element 'pg-header'. at line 4, column 114
nu.xom.Builder.build(Builder.java:1132)
nu.xom.Builder.build(Builder.java:586)
.............................................................................................
root cause
org.xml.sax.SAXParseException: cvc-complex-type.3.2.2: Attribute 'title' is not allowed to appear in element 'pg-header'.
com.sun.org.apache.xerces.internal.util.ErrorHandlerWrapper.createSAXParseException(ErrorHandlerWrapper.java:195)
com.sun.org.apache.xerces.internal.util.ErrorHandlerWrapper.error(ErrorHandlerWrapper.java:131)
com.sun.org.apache.xerces.internal.impl.XMLErrorReporter.reportError(XMLErrorReporter.java:384)
com.sun.org.apache.xerces.internal.impl.XMLErrorReporter.reportError(XMLErrorReporter.java:318)
com.sun.org.apache.xerces.internal.impl.xs.XMLSchemaValidator$XSIErrorReporter.reportError(XMLSchemaValidator.java:410)
com.sun.org.apache.xerces.internal.impl.xs.XMLSchemaValidator.reportSchemaError(XMLSchemaValidator.java:3165)
com.sun.org.apache.xerces.internal.impl.xs.XMLSchemaValidator.processAttributes(XMLSchemaValidator.java:2630)
com.sun.org.apache.xerces.internal.impl.xs.XMLSchemaValidator.handleStartElement(XMLSchemaValidator.java:2037)
com.sun.org.apache.xerces.internal.impl.xs.XMLSchemaValidator.startElement(XMLSchemaValidator.java:685)
com.sun.org.apache.xerces.internal.jaxp.validation.ValidatorHandlerImpl.startElement(ValidatorHandlerImpl.java:549)
org.apache.xerces.jaxp.JAXPValidatorComponent$XNI2SAX.startElement(Unknown Source)
org.apache.xerces.jaxp.JAXPValidatorComponent.startElement(Unknown Source)
org.apache.xerces.impl.XMLDocumentFragmentScannerImpl.scanStartElement(Unknown Source)
org.apache.xerces.impl.XMLDocumentFragmentScannerImpl$FragmentContentDispatcher.dispatch(Unknown Source)
org.apache.xerces.impl.XMLDocumentFragmentScannerImpl.scanDocument(Unknown Source)
org.apache.xerces.parsers.XML11Configuration.parse(Unknown Source)
org.apache.xerces.parsers.XML11Configuration.parse(Unknown Source)
org.apache.xerces.parsers.XMLParser.parse(Unknown Source)
org.apache.xerces.parsers.AbstractSAXParser.parse(Unknown Source)
org.apache.xerces.jaxp.SAXParserImpl$JAXPSAXParser.parse(Unknown Source)
nu.xom.Builder.build(Builder.java:1127)
nu.xom.Builder.build(Builder.java:586)