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 89430 - Inapplicable 'id' attribute can be added to xsd:documentation component via Properties pane
Summary: Inapplicable 'id' attribute can be added to xsd:documentation component via P...
Status: VERIFIED FIXED
Alias: None
Product: xml
Classification: Unclassified
Component: Schema Tools (show other bugs)
Version: 5.x
Hardware: PC Windows XP
: P3 blocker (vote)
Assignee: Ayub Khan
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2006-11-16 06:24 UTC by Andrei Chistiakov
Modified: 2007-01-18 13:29 UTC (History)
1 user (show)

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 Andrei Chistiakov 2006-11-16 06:24:38 UTC
Reproduced in build 061031 (jdk 1.6.0-beta2)

To reproduce the bug:
- create PO schema;
- select 'documentation' node in the column view;
- open Properties pane;
- set the value of ID property to 'a';
- validate the schema.

XML validation started.
D:/Src/XMLJavaApp/src/pkg4/newpo.xsd:10,4
s4s-att-not-allowed: Attribute 'id' cannot appear in element
'documentation'.

1 Error(s),  0 Warning(s).
XML validation finished
Comment 1 Samaresh Panda 2006-11-29 21:50:49 UTC
Moved to 5.5.1
Comment 2 Ayub Khan 2007-01-16 18:28:06 UTC
Fixed in release551

/cvs/xml/schema/schemaui/src/org/netbeans/modules/xml/schema/ui/nodes/schema/DocumentationNode.java
new revision: 1.1.2.8.6.1; previous revision: 1.1.2.8
Comment 3 Andrei Chistiakov 2007-01-18 13:29:47 UTC
Verified in build 070117_9 (release551).