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.
The namespace http://www.netbeans.org/ns/editor-bookmarks/1 is defined in BookmarksXMLHandler, yet there is no XML schema defining its contents. You should create a schema to validate this section, and register it in ProjectXMLCatalog/editor-bookmarks/1.xsd in your layer.
http://hg.netbeans.org/main/rev/b0ab9b18e582
Looks good. Is it correct that <file> <url>...</url> </file> (with no <line>) is valid, or would <file>s always be deleted in case the last bookmark in them is deleted? BTW minOccurs="1" maxOccurs="1" are both unnecessary as these are the defaults.
Integrated into 'main-golden', available in NB_Trunk_Production #324 build Changeset: http://hg.netbeans.org/main/rev/b0ab9b18e582 User: Vita Stejskal <vstejskal@netbeans.org> Log: #139950 (fixed): adding XML schema for editor-bookmarks
Good point. I checked the saving logic and there should never be the <file> element with only <url/> and no <line/> elements. I'll update the schema. Thanks
Improved schema - http://hg.netbeans.org/main/rev/6d632f04c62f