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 58967 - Incomplete generation of SAX handler implementation
Summary: Incomplete generation of SAX handler implementation
Status: RESOLVED DUPLICATE of bug 90174
Alias: None
Product: xml
Classification: Unclassified
Component: Code (show other bugs)
Version: 4.x
Hardware: PC Windows XP
: P3 blocker (vote)
Assignee: issues@xml
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2005-05-17 07:40 UTC by Jiri Kovalsky
Modified: 2007-10-01 03:11 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 Jiri Kovalsky 2005-05-17 07:40:43 UTC
FCS build #200505031930 of NetBeans 4.1
Windows XP, JDK 1.5.0_03 build #06

Description:
============
When generating SAX handler from DTD file when SAX events should be propagated,
the implementation misses several interface methods and such file doesn't compile.

Steps to reproduce:
===================
1. Create new sample web application project.
2. Create new DTD file from template in the project.
3. Right click DTD filenode and choose "SAX Document Handler Wizard...".
4. Check "Propagate SAX Events to Generated Handler" option and push "Next >".
5. Push "Next >" twice more and then "Finish".
6. Class declaration line will be red underlined marking the errors.

Workaround:
===========
Invoke "Tools|Synchronize" from main menu and push "Process All".
Comment 1 Petr Pisl 2005-11-10 14:41:32 UTC
I will try to fix this into 5.0.
Comment 2 Sherold Dev 2006-08-02 10:26:06 UTC
besides that the generated code is not compilable, it also uses some deprecated
classes

TM -> 5.5
Comment 3 Samaresh Panda 2007-10-01 03:11:54 UTC
The following two actions are no longer supported in 6.0.

Generate DOM Tree Scanner
SAX Document Handler Wizard


*** This issue has been marked as a duplicate of 90174 ***