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 124171 - schema based documents not validate
Summary: schema based documents not validate
Status: VERIFIED FIXED
Alias: None
Product: xml
Classification: Unclassified
Component: Code (show other bugs)
Version: 6.x
Hardware: All All
: P2 blocker with 1 vote (vote)
Assignee: Samaresh Panda
URL:
Keywords:
Depends on:
Blocks: 122444
  Show dependency tree
 
Reported: 2007-12-18 00:07 UTC by gary002g
Modified: 2008-02-05 15:59 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 gary002g 2007-12-18 00:07:16 UTC
Creating XML schema based document (Spring framework application context, but tested on other types - web.xml, etc.)
Manually created document root(beans), because new file wizard does not allow to select schema. (5.5.1 had that ability).
Entering "<" shows first level children. Select "bean" from the list and press space. No prompt follows. 
Manually enter 'id="xyz"' and press space. Prompt is displayed. Select class and enter the value. Press space. No prompt.
I.e. prompts are displayed for 1st, 3rd, 5th, etc. elements only.
Comment 1 Samaresh Panda 2007-12-19 19:08:56 UTC
Updated summary.
Comment 2 Samaresh Panda 2008-01-16 23:33:29 UTC
Fix integrated:
Checking in src/org/netbeans/modules/xml/schema/completion/util/CompletionContextImpl.java;
/cvs/xml/schema/completion/src/org/netbeans/modules/xml/schema/completion/util/CompletionContextImpl.java,v  <-- 
CompletionContextImpl.java
new revision: 1.19; previous revision: 1.18
done
Checking in src/org/netbeans/modules/xml/schema/completion/util/CompletionUtil.java;
/cvs/xml/schema/completion/src/org/netbeans/modules/xml/schema/completion/util/CompletionUtil.java,v  <-- 
CompletionUtil.java
new revision: 1.14; previous revision: 1.13
done
Checking in test/unit/src/org/netbeans/modules/xml/schema/completion/AbstractTestCase.java;
/cvs/xml/schema/completion/test/unit/src/org/netbeans/modules/xml/schema/completion/AbstractTestCase.java,v  <-- 
AbstractTestCase.java
new revision: 1.7; previous revision: 1.6
done
Checking in test/unit/src/org/netbeans/modules/xml/schema/completion/BasicCompletionTest.java;
/cvs/xml/schema/completion/test/unit/src/org/netbeans/modules/xml/schema/completion/BasicCompletionTest.java,v  <-- 
BasicCompletionTest.java
new revision: 1.17; previous revision: 1.16
done
Checking in src/org/netbeans/modules/xml/schema/completion/SchemaBasedCompletionProvider.java;
/cvs/xml/schema/completion/src/org/netbeans/modules/xml/schema/completion/SchemaBasedCompletionProvider.java,v  <-- 
SchemaBasedCompletionProvider.java
new revision: 1.11; previous revision: 1.10
done
Checking in src/org/netbeans/modules/xml/schema/completion/AttributeResultItem.java;
/cvs/xml/schema/completion/src/org/netbeans/modules/xml/schema/completion/AttributeResultItem.java,v  <-- 
AttributeResultItem.java
new revision: 1.7; previous revision: 1.6
done
Checking in src/org/netbeans/modules/xml/schema/completion/CompletionResultItem.java;
/cvs/xml/schema/completion/src/org/netbeans/modules/xml/schema/completion/CompletionResultItem.java,v  <-- 
CompletionResultItem.java
new revision: 1.9; previous revision: 1.8
done
Checking in src/org/netbeans/modules/xml/schema/completion/ElementResultItem.java;
/cvs/xml/schema/completion/src/org/netbeans/modules/xml/schema/completion/ElementResultItem.java,v  <-- 
ElementResultItem.java
new revision: 1.7; previous revision: 1.6
done
Checking in src/org/netbeans/modules/xml/schema/completion/CompletionPaintComponent.java;
/cvs/xml/schema/completion/src/org/netbeans/modules/xml/schema/completion/CompletionPaintComponent.java,v  <-- 
CompletionPaintComponent.java
new revision: 1.7; previous revision: 1.6
done
RCS file: /cvs/xml/schema/completion/test/unit/src/org/netbeans/modules/xml/schema/completion/resources/Attr1.xml,v
done
Checking in test/unit/src/org/netbeans/modules/xml/schema/completion/resources/Attr1.xml;
/cvs/xml/schema/completion/test/unit/src/org/netbeans/modules/xml/schema/completion/resources/Attr1.xml,v  <--  Attr1.xml
initial revision: 1.1
done
Checking in test/unit/src/org/netbeans/modules/xml/schema/completion/resources/A.xsd;
/cvs/xml/schema/completion/test/unit/src/org/netbeans/modules/xml/schema/completion/resources/A.xsd,v  <--  A.xsd
new revision: 1.5; previous revision: 1.4
Comment 3 tonybeckham 2008-01-24 23:50:39 UTC
Fix verified.  Attribute completion is automatic again.

Product Version: NetBeans IDE Dev (Build 200801220251)
Java: 1.5.0_13; Java HotSpot(TM) Client VM 1.5.0_13-119
System: Mac OS X version 10.5.1 running on i386; MacRoman; en_US (nb)