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 119564 - [60cat] DTD file not removed after failed Generate DTD
Summary: [60cat] DTD file not removed after failed Generate DTD
Status: VERIFIED FIXED
Alias: None
Product: xml
Classification: Unclassified
Component: Validation (show other bugs)
Version: 6.x
Hardware: PC Windows XP
: P3 blocker (vote)
Assignee: Samaresh Panda
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2007-10-20 21:43 UTC by jlaskowski
Modified: 2008-06-26 00:28 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 jlaskowski 2007-10-20 21:43:14 UTC
[ BUILD # : 200710190000 ]
[ JDK VERSION : 1.6.0_02 ]

Create an incorrect XML file, e.g.

<?xml version="1.0" encoding="UTF-8"?>
<root>
    <module>
        <ext-connector>
            <inner><XY</inner>
        </ext-connector>
    </module>
</root>

Select Generate DTD... menu from the left-mouse button menu. The
following error message pops up:

Cannot proceed! The document contains syntax errors:
Element type "XY" must be followed by either attribute
specifications, ">" or "/>".

The corresponding dtd file is left over yet empty.

Note that the error message contains a typo - the comma after
"specifications".
Comment 1 Milos Kleint 2007-10-22 07:39:00 UTC
-> xml support
Comment 2 Samaresh Panda 2008-05-31 00:18:41 UTC
Fixed: http://hg.netbeans.org/main/rev/7e76ff7ba284
Comment 3 tonybeckham 2008-06-26 00:28:40 UTC
Fix Verified

Product Version: NetBeans IDE Dev (Build 200806251543)
Java: 1.6.0_05; Java HotSpot(TM) 64-Bit Server VM 1.6.0_05-b13-52
System: Mac OS X version 10.5.3 running on x86_64; MacRoman; en_US (nb)