This Bugzilla instance is a read-only archive of historic NetBeans bug reports. To report a bug in NetBeans please follow the project's instructions for reporting issues.

Bug 18718 - SAXParseException at .text.completion.dtd.DTDParser.parse()
Summary: SAXParseException at .text.completion.dtd.DTDParser.parse()
Status: CLOSED FIXED
Alias: None
Product: xml
Classification: Unclassified
Component: Text-Edit (show other bugs)
Version: 3.x
Hardware: PC Linux
: P3 blocker (vote)
Assignee: _ pkuzel
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2001-12-17 10:34 UTC by Martin Schovanek
Modified: 2007-09-25 01:33 UTC (History)
0 users

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Martin Schovanek 2001-12-17 10:34:10 UTC
[Nb build 200112102331, modules 011216, jdk1.4.0]

Steps to reproduce:
-------------------
1) open XML with internal DTD
2) in the internal DTD type '<' and press CTRL-SPACE

IDE throws:

org.xml.sax.SAXParseException: The markup in the document preceding the root
element must be well-formed.
        at
org.apache.xerces.framework.XMLParser.reportError(XMLParser.java:1060)
        at
org.apache.xerces.framework.XMLDocumentScanner.reportFatalXMLError(XMLDocumentScanner.java:626)
        at
org.apache.xerces.framework.XMLDocumentScanner$ContentDispatcher.dispatch(XMLDocumentScanner.java:1020)
        at
org.apache.xerces.framework.XMLDocumentScanner.parseSome(XMLDocumentScanner.java:381)
        at org.apache.xerces.framework.XMLParser.parse(XMLParser.java:952)
        at
org.netbeans.modules.xml.text.completion.dtd.DTDParser.parse(DTDParser.java:54)
        at
org.netbeans.modules.xml.text.completion.XMLCompletionQuery$1$LoaderTask.run(XMLCompletionQuery.java:735)
        at org.openide.util.Task.run(Task.java:152)
        at
org.openide.util.RequestProcessor$ProcessorThread.run(RequestProcessor.java:622)
Comment 1 _ pkuzel 2002-01-07 13:54:14 UTC
Added a debug mode check.
Comment 2 Martin Schovanek 2002-01-21 20:22:50 UTC
VERIFIED
Comment 3 Quality Engineering 2003-07-02 08:40:54 UTC
Resolved for 3.4.x or earlier, no new info since then -> closing.