org.xml.sax.SAXParseException: Character reference "&#x1d" is an invalid XML character.

Searched on Google with the first line of a JAVA stack trace?

We can recommend more relevant solutions and speed up debugging when you paste your entire stack trace with the exception message. Try a sample exception.

Recommended solutions based on your search

Samebug tips

,

The persistence_2_0.xsd enforces the order of the elements in the xml. Re-ordering them makes then error go away.

Solutions on the web

via freemind by lessismore76
, 1 year ago
Character reference "&#x1d" is an invalid XML character.
via adempiere by alamanga
, 1 year ago
Character reference "&\#28" is an invalid XML character.
via Stack Overflow by Tam
, 2 years ago
Content is not allowed in prolog.
via Atlassian JIRA by Sam Berlin, 1 year ago
An invalid XML character (Unicode: 0x8) was found in the element content of the document.
via Atlassian JIRA by Sam Berlin, 1 year ago
An invalid XML character (Unicode: 0x8) was found in the element content of the document.
via Google Groups by murali...@yahoo.co.in, 2 years ago
Content is not allowed in prolog.
org.xml.sax.SAXParseException: Character reference "&#x1d" is an invalid XML character.
at org.apache.xerces.util.ErrorHandlerWrapper.createSAXParseException(Unknown Source)
at org.apache.xerces.util.ErrorHandlerWrapper.fatalError(Unknown Source)
at org.apache.xerces.impl.XMLErrorReporter.reportError(Unknown Source)
at org.apache.xerces.impl.XMLErrorReporter.reportError(Unknown Source)
at org.apache.xerces.impl.XMLScanner.reportFatalError(Unknown Source)
at org.apache.xerces.impl.XMLScanner.scanCharReferenceValue(Unknown Source)
at org.apache.xerces.impl.XMLScanner.scanAttributeValue(Unknown Source)
at org.apache.xerces.impl.XMLDocumentFragmentScannerImpl.scanAttribute(Unknown Source)
at org.apache.xerces.impl.XMLDocumentFragmentScannerImpl.scanStartElement(Unknown Source)
at org.apache.xerces.impl.XMLDocumentFragmentScannerImpl$FragmentContentDispatcher.dispatch(Unknown Source)
at org.apache.xerces.impl.XMLDocumentFragmentScannerImpl.scanDocument(Unknown Source)
at org.apache.xerces.parsers.XML11Configuration.parse(Unknown Source)
at org.apache.xerces.parsers.XML11Configuration.parse(Unknown Source)
at org.apache.xerces.parsers.XMLParser.parse(Unknown Source)
at org.apache.xerces.parsers.AbstractSAXParser.parse(Unknown Source)
at org.apache.xerces.jaxp.SAXParserImpl$JAXPSAXParser.parse(Unknown Source)
at freemind.main.HtmlTools.isWellformedXml(HtmlTools.java:578)
at freemind.modes.mindmapmode.EncryptedMindMapNode.checkPassword(EncryptedMindMapNode.java:178)
at freemind.modes.mindmapmode.EncryptedMindMapNode.decrypt(EncryptedMindMapNode.java:99)
at accessories.plugins.EncryptNode.doPasswordCheckAndDecryptNode(EncryptNode.java:252)
at accessories.plugins.EncryptNode.toggleCryptState(EncryptNode.java:222)
at accessories.plugins.EncryptNode.invoke(EncryptNode.java:133)
at freemind.modes.NodeAdapter.invokeHook(NodeAdapter.java:960)
at freemind.modes.mindmapmode.actions.NodeHookAction.invoke(NodeHookAction.java:220)
at freemind.modes.mindmapmode.actions.NodeHookAction.addHook(NodeHookAction.java:103)
at freemind.modes.mindmapmode.actions.NodeHookAction.invoke(NodeHookAction.java:172)
at freemind.modes.mindmapmode.actions.NodeHookAction.actionPerformed(NodeHookAction.java:81)
at javax.swing.AbstractButton.fireActionPerformed(Unknown Source)
at javax.swing.AbstractButton$Handler.actionPerformed(Unknown Source)
at javax.swing.DefaultButtonModel.fireActionPerformed(Unknown Source)
at javax.swing.DefaultButtonModel.setPressed(Unknown Source)
at javax.swing.AbstractButton.doClick(Unknown Source)
at javax.swing.plaf.basic.BasicMenuItemUI.doClick(Unknown Source)
at javax.swing.plaf.basic.BasicMenuItemUI$Handler.mouseReleased(Unknown Source)
at java.awt.AWTEventMulticaster.mouseReleased(Unknown Source)
at java.awt.Component.processMouseEvent(Unknown Source)
at javax.swing.JComponent.processMouseEvent(Unknown Source)
at java.awt.Component.processEvent(Unknown Source)
at java.awt.Container.processEvent(Unknown Source)
at java.awt.Component.dispatchEventImpl(Unknown Source)
at java.awt.Container.dispatchEventImpl(Unknown Source)
at java.awt.Component.dispatchEvent(Unknown Source)
at java.awt.LightweightDispatcher.retargetMouseEvent(Unknown Source)
at java.awt.LightweightDispatcher.processMouseEvent(Unknown Source)
at java.awt.LightweightDispatcher.dispatchEvent(Unknown Source)
at java.awt.Container.dispatchEventImpl(Unknown Source)
at java.awt.Window.dispatchEventImpl(Unknown Source)
at java.awt.Component.dispatchEvent(Unknown Source)
at java.awt.EventQueue.dispatchEventImpl(Unknown Source)
at java.awt.EventQueue.access$400(Unknown Source)
at java.awt.EventQueue$2.run(Unknown Source)
at java.awt.EventQueue$2.run(Unknown Source)
at java.security.AccessController.doPrivileged(Native Method)
at java.security.AccessControlContext$1.doIntersectionPrivilege(Unknown Source)
at java.security.AccessControlContext$1.doIntersectionPrivilege(Unknown Source)
at java.awt.EventQueue$3.run(Unknown Source)
at java.awt.EventQueue$3.run(Unknown Source)
at java.security.AccessController.doPrivileged(Native Method)
at java.security.AccessControlContext$1.doIntersectionPrivilege(Unknown Source)
at java.awt.EventQueue.dispatchEvent(Unknown Source)
at java.awt.EventDispatchThread.pumpOneEventForFilters(Unknown Source)
at java.awt.EventDispatchThread.pumpEventsForFilter(Unknown Source)
at java.awt.EventDispatchThread.pumpEventsForHierarchy(Unknown Source)
at java.awt.EventDispatchThread.pumpEvents(Unknown Source)
at java.awt.EventDispatchThread.pumpEvents(Unknown Source)

Users with the same issue

Samebug visitor profile picture
Unknown user
Once, 1 year ago
6 times, 1 year ago
Once, 1 year ago
2 times, 3 weeks ago
2 times, 6 months ago
50 more bugmates

Know the solutions? Share your knowledge to help other developers to debug faster.