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 27402

Summary: DTDProducer failures
Product: java Reporter: _ briansmith <briansmith>
Component: UnsupportedAssignee: issues@java <issues>
Status: VERIFIED FIXED    
Severity: blocker    
Priority: P1    
Version: 3.x   
Hardware: PC   
OS: Windows ME/2000   
Issue Type: DEFECT Exception Reporter:
Attachments: jmiutils-meta-inf\META-INF\services\org.netbeans.api.mdr.DTDProducer

Description _ briansmith 2002-09-18 04:15:24 UTC
1. DTDProducer is not listed in
jmiutils-meta-inf\META-INF\services, so standalone
programs cannot use it via lookup.

2. fixed.dtd seems to not have been checked into
CVS, so the DTDProducer fails when executed:

Exception in thread "main"
org.netbeans.lib.jmi.util.DebugException: Resource no
t found: resources/fixed.dtd
        at
org.netbeans.lib.jmi.xmi.XmiDtdProducer.writeFixedContent(XmiDtdProdu
cer.java:345)
        at
org.netbeans.lib.jmi.xmi.XmiDtdProducer.generate(XmiDtdProducer.java:
139)
        at
org.brianlsmith.smn.mdr.Main.exportExtent(Main.java:173)
        at
org.brianlsmith.smn.mdr.Main.run(Main.java:99)
        at
org.brianlsmith.smn.mdr.Main.main(Main.java:24)

Asigning P1 since the original issue 21655 was P1.
Comment 1 _ briansmith 2002-09-18 04:16:48 UTC
Created attachment 7437 [details]
jmiutils-meta-inf\META-INF\services\org.netbeans.api.mdr.DTDProducer
Comment 2 _ briansmith 2002-09-24 20:56:06 UTC
I verified that the check-in today fixes the problem in both my
standalone program and my NetBeans module.

BTW, are you sure that you are supposed to have the SPL notice on the
fixed.dtd, since it is derived from the XMI spec?
Comment 3 Daniel Prusa 2002-09-25 09:41:11 UTC
Brian,
I am not sure if SPL notice should be in fixed.dtd file, but it is 
safer for us to have it there. Fixed.dtd is just a resource file, it 
is not direct part of dtd producer's output and its content is copied 
to the result excluding the notice.
Comment 4 Jiri Prox 2005-07-27 09:01:36 UTC
quiet for too long, verified