Menu

#1 Does not deserialize with Xerces

open
nobody
None
5
2002-03-20
2002-03-20
Anonymous
No

The comment that is added at the top of the file
causes a validation error with the latest Xerces...

Stack Trace
[ Error (source =
net.digitalsymbiosis.util.XMLProperties) occurred at
Wed Mar 20 13:40:03 PST 2002 ]
org.xml.sax.SAXParseException: The XML declaration may
only appear at the very beginning of the document.
at
org.apache.xerces.framework.XMLParser.reportError
(XMLParser.java:1196)
at
org.apache.xerces.framework.XMLDocumentScanner.reportFa
talXMLError(XMLDocumentScanner.java:570)
at
org.apache.xerces.framework.XMLDocumentScanner.abortMar
kup(XMLDocumentScanner.java:624)
at
org.apache.xerces.framework.XMLDocumentScanner$PrologDi
spatcher.dispatch(XMLDocumentScanner.java:810)
at
org.apache.xerces.framework.XMLDocumentScanner.parseSom
e(XMLDocumentScanner.java:381)
at org.apache.xerces.framework.XMLParser.parse
(XMLParser.java:1081)
at
net.digitalsymbiosis.xml.dom.XercesParser.parse
(XercesParser.java:31)
at
net.digitalsymbiosis.util.XMLProperties.merge
(XMLProperties.java:137)
at
net.digitalsymbiosis.util.XMLProperties.merge
(XMLProperties.java:119)
at net.digitalsymbiosis.util.XMLProperties.load
(XMLProperties.java:87)
at hp.printing.mep.eventsystem.Event.<init>
(Event.java:40)
at
hp.printing.mep.eventsystem.SubsystemErrorEvent.<init>
(SubsystemErrorEvent.java:21)
at
hp.printing.mep.eventsystem.UnitTestListener.onMessage
(TestTopicSubscriberHelper.java:139)
at
org.exolab.jms.client.JmsMessageConsumer.onMessage
(Unknown Source)
at org.exolab.jms.client.JmsSession.execute
(Unknown Source)
at org.exolab.jms.util.BlockingWorkerQueue.run
(Unknown Source)

Exception in onMessage
():org.xml.sax.SAXParseException: The XML declaration
may only appear at the very beginning of the document.
at
org.apache.xerces.framework.XMLParser.reportError
(XMLParser.java:1196)
at
org.apache.xerces.framework.XMLDocumentScanner.reportFa
talXMLError(XMLDocumentScanner.java:570)
at
org.apache.xerces.framework.XMLDocumentScanner.abortMar
kup(XMLDocumentScanner.java:624)
at
org.apache.xerces.framework.XMLDocumentScanner$PrologDi
spatcher.dispatch(XMLDocumentScanner.java:810)
at
org.apache.xerces.framework.XMLDocumentScanner.parseSom
e(XMLDocumentScanner.java:381)
at org.apache.xerces.framework.XMLParser.parse
(XMLParser.java:1081)
at
net.digitalsymbiosis.xml.dom.XercesParser.parse
(XercesParser.java:31)
at
net.digitalsymbiosis.util.XMLProperties.merge
(XMLProperties.java:137)
at
net.digitalsymbiosis.util.XMLProperties.merge
(XMLProperties.java:119)
at net.digitalsymbiosis.util.XMLProperties.load
(XMLProperties.java:87)
at hp.printing.mep.eventsystem.Event.<init>
(Event.java:40)
at
hp.printing.mep.eventsystem.SubsystemErrorEvent.<init>
(SubsystemErrorEvent.java:21)
at
hp.printing.mep.eventsystem.UnitTestListener.onMessage
(TestTopicSubscriberHelper.java:139)
at
org.exolab.jms.client.JmsMessageConsumer.onMessage
(Unknown Source)
at org.exolab.jms.client.JmsSession.execute
(Unknown Source)
at org.exolab.jms.util.BlockingWorkerQueue.run
(Unknown Source)

Discussion


Log in to post a comment.

MongoDB Logo MongoDB