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 - Validation errors in catalog published by PP
Summary: Validation errors in catalog published by PP
Status: RESOLVED FIXED
Alias: None
Product: updatecenters
Classification: Unclassified
Component: Pluginportal (show other bugs)
Version: 7.0
Hardware: PC Linux
: P2 normal (vote)
Assignee: Jiri Kovalsky
URL:
Keywords:
Depends on:
Blocks: 197566
  Show dependency tree
 
Reported: 2011-05-04 22:05 UTC by Jesse Glick
Modified: 2011-05-06 13:14 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 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