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 198329

Summary: Validation errors in catalog published by PP
Product: updatecenters Reporter: Jesse Glick <jglick>
Component: PluginportalAssignee: Jiri Kovalsky <jkovalsky>
Status: RESOLVED FIXED    
Severity: normal    
Priority: P2    
Version: 7.0   
Hardware: PC   
OS: Linux   
Issue Type: DEFECT Exception Reporter:
Bug Depends on:    
Bug Blocks: 197566    

Description Jesse Glick 2011-05-04 22:05:41 UTC
WARNING [org.netbeans.modules.autoupdate.updateprovider.AutoupdateCatalogParser]: http://plugins.netbeans.org/nbpluginportal/updates/7.0/catalog.xml.gz:988:407: Attribute "AutoUpdate-Show-In-Client" must be declared for element type "manifest".
Comment 1 Jiri Kovalsky 2011-05-05 08:52:42 UTC
What resolution do you suggest Jesse? Would it be possible to declare the "AutoUpdate-Show-In-Client" attribute for "manifest" element?
Comment 2 Jesse Glick 2011-05-05 21:53:13 UTC
You need to specify a newer version of the DTD to use this newer attribute. In any event, whatever code is generating the update center needs to validate it before publishing it to the world.
Comment 3 Jan Pirek 2011-05-06 07:53:31 UTC
Jessie,
what should be the new DTD to use?

honza
Comment 4 Jesse Glick 2011-05-06 12:01:24 UTC
You are using 2.3. There are several newer ones. It does not really matter which you use so long as the result validates.
Comment 5 Jan Pirek 2011-05-06 13:14:28 UTC
I added validation check, link the latest dtd 2.6 and new version of catalog.xml is saved only if it passed validation