I have an XML and a dtd as well.Now as such my xml is loaded perfectly and when I add an element test inside the dtd and xml I am getting the following exception.
org.xml.sax.SAXParseException: Element type "test" must be declared.
at weblogic.apache.xerces.parsers.AbstractSAXParser.parse(AbstractSAXParser.java:1189)
at weblogic.xml.jaxp.WebLogicXMLReader.parse(WebLogicXMLReader.java:135)
at weblogic.xml.jaxp.RegistryXMLReader.parse(RegistryXMLReader.java:152)
at javax.xml.parsers.SAXParser.parse(SAXParser.java:345)
Has anyone encountred this before?