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 132041 - XML schema code completion does not offer for enumerated attribute values
Summary: XML schema code completion does not offer for enumerated attribute values
Status: RESOLVED DUPLICATE of bug 91823
Alias: None
Product: xml
Classification: Unclassified
Component: Schema (show other bugs)
Version: 6.x
Hardware: All All
: P3 blocker (vote)
Assignee: Samaresh Panda
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2008-04-04 12:40 UTC by Andrei Badea
Modified: 2008-04-04 15:40 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 Badea 2008-04-04 12:40:26 UTC
For example, the code completion doesn't display the enumerated values below:

    <xsd:attribute name="default-autowire" default="no">
            <xsd:simpleType>
                    <xsd:restriction base="xsd:NMTOKEN">
                            <xsd:enumeration value="no"/>
                            <xsd:enumeration value="byName"/>
                            <xsd:enumeration value="byType"/>
                            <xsd:enumeration value="constructor"/>
                            <xsd:enumeration value="autodetect"/>
                    </xsd:restriction>
            </xsd:simpleType>
    </xsd:attribute>

This impacts the Spring Framework support, which needed to provide these attributes in its own code completion.
Comment 1 Rohan Ranade 2008-04-04 13:12:41 UTC
A similar issue raised earlier: 91823
Comment 2 Samaresh Panda 2008-04-04 15:40:30 UTC

*** This issue has been marked as a duplicate of 91823 ***