Hi all,
I tried to open a DocBook file with the DocBook DTD
(in /usr/share/sgml/docbook/dtd/xml/4.3/docbookx.dtd
on my system, probably
http://www.oasis-open.org/docbook/xml/4.3b2/docbookx.dtd
on the net), and got the following error:
[Fatal Error] :1:3: The markup in the document
preceding the root element must be well-formed.
Exception in thread "AWT-EventQueue-0"
java.lang.InternalError
at
com.sun.msv.scanner.dtd.DTDParser.parseSystemId(DTDParser.java:1892)
at
com.sun.msv.scanner.dtd.DTDParser.maybeExternalID(DTDParser.java:1861)
at
com.sun.msv.scanner.dtd.DTDParser.maybeEntityDecl(DTDParser.java:1777)
at
com.sun.msv.scanner.dtd.DTDParser.maybeMarkupDecl(DTDParser.java:867)
at
com.sun.msv.scanner.dtd.DTDParser.maybeConditionalSect(DTDParser.java:1604)
at
com.sun.msv.scanner.dtd.DTDParser.maybeConditionalSect(DTDParser.java:1604)
at
com.sun.msv.scanner.dtd.DTDParser.externalParameterEntity(DTDParser.java:19
52)
at
com.sun.msv.scanner.dtd.DTDParser.maybePEReference(DTDParser.java:1731)
at
com.sun.msv.scanner.dtd.DTDParser.maybeConditionalSect(DTDParser.java:1601)
at
com.sun.msv.scanner.dtd.DTDParser.externalParameterEntity(DTDParser.java:19
52)
at
com.sun.msv.scanner.dtd.DTDParser.parseInternal(DTDParser.java:306)
at
com.sun.msv.scanner.dtd.DTDParser.parse(DTDParser.java:202)
at
com.sun.msv.reader.dtd.DTDReader.parse(DTDReader.java:78)
at
com.sun.msv.reader.dtd.DTDReader.parse(DTDReader.java:66)
at
org.outerj.pollo.xmleditor.schema.MsvSchema.init(MsvSchema.java:73)
at
org.outerj.pollo.xmleditor.schema.MsvSchemaFactory.getSchema(MsvSchemaFacto
ry.java:22)
at
org.outerj.pollo.config.SchemaConfItem.createSchema(SchemaConfItem.java:17)
at
org.outerj.pollo.config.ViewTypeConf.createSchemaChain(ViewTypeConf.java:89
)
at
org.outerj.pollo.EditorPanelImpl.<init>(EditorPanelImpl.java:65)
at
org.outerj.pollo.Pollo.createEditorPanel(Pollo.java:149)
at
org.outerj.pollo.Pollo.openFile(Pollo.java:119)
at
org.outerj.pollo.action.FileOpenAction.actionPerformed(FileOpenAction.java:
51)
at
javax.swing.AbstractButton.fireActionPerformed(AbstractButton.java:1849)
at
javax.swing.AbstractButton$Handler.actionPerformed(AbstractButton.java:2169
)
at
javax.swing.DefaultButtonModel.fireActionPerformed(DefaultButtonModel.java:
420)
at
javax.swing.DefaultButtonModel.setPressed(DefaultButtonModel.java:258)
at
javax.swing.AbstractButton.doClick(AbstractButton.java:302)
at
javax.swing.plaf.basic.BasicMenuItemUI.doClick(BasicMenuItemUI.java:1000)
at
javax.swing.plaf.basic.BasicMenuItemUI$Handler.menuDragMouseReleased(BasicM
enuItemUI.java:1104)
at
javax.swing.JMenuItem.fireMenuDragMouseReleased(JMenuItem.java:578)
at
javax.swing.JMenuItem.processMenuDragMouseEvent(JMenuItem.java:475)
at
javax.swing.JMenuItem.processMouseEvent(JMenuItem.java:422)
at
javax.swing.MenuSelectionManager.processMouseEvent(MenuSelectionManager.jav
a:283)
at
javax.swing.plaf.basic.BasicPopupMenuUI$MouseGrabber.eventDispatched(BasicP
opupMenuUI.java:779)
at
java.awt.Toolkit$SelectiveAWTEventListener.eventDispatched(Toolkit.java:220
6)
at
java.awt.Toolkit$ToolkitEventMulticaster.eventDispatched(Toolkit.java:2100)
at
java.awt.Toolkit.notifyAWTEventListeners(Toolkit.java:2058)
at
java.awt.Component.dispatchEventImpl(Component.java:3867)
at
java.awt.Container.dispatchEventImpl(Container.java:2024)
at
java.awt.Component.dispatchEvent(Component.java:3803)
at
java.awt.LightweightDispatcher.retargetMouseEvent(Container.java:4212)
at
java.awt.LightweightDispatcher.processMouseEvent(Container.java:3892)
at
java.awt.LightweightDispatcher.dispatchEvent(Container.java:3822)
at
java.awt.Container.dispatchEventImpl(Container.java:2010)
at
java.awt.Window.dispatchEventImpl(Window.java:1774)
at
java.awt.Component.dispatchEvent(Component.java:3803)
at
java.awt.EventQueue.dispatchEvent(EventQueue.java:463)
at
java.awt.EventDispatchThread.pumpOneEventForHierarchy(EventDispatchThread.j
ava:242)
at
java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.jav
a:163)
at
java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:157)
at
java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:149)
at
java.awt.EventDispatchThread.run(EventDispatchThread.java:110)
I tried a second time and it worked, so I guess this
is some kind of race condition.
Cheers, Chris.
Nobody/Anonymous
None
None
Public
Copyright © 2010 Geeknet, Inc. All rights reserved. Terms of Use