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 243785 - xsd any breaks xml code completion
Summary: xsd any breaks xml code completion
Status: RESOLVED WONTFIX
Alias: None
Product: xml
Classification: Unclassified
Component: Schema Tools (show other bugs)
Version: 8.0
Hardware: PC Linux
: P3 normal (vote)
Assignee: Svata Dedic
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2014-04-12 15:11 UTC by kumm
Modified: 2016-07-07 09:56 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 kumm 2014-04-12 15:11:33 UTC
Given an xsd like this:
<schema version="1.0"
           xmlns="http://www.w3.org/2001/XMLSchema"
           targetNamespace="urn:any"
           elementFormDefault="qualified">

    <element name="el">
        <complexType>
            <sequence>
                <any maxOccurs="unbounded" minOccurs="0"/>
            </sequence>
        </complexType>
    </element>
</schema>

While i'm editing an xml contrainted by this schema, the code completion works only in the root element.
<el
    xmlns="urn:any"
    xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
    xsi:schemaLocation="urn:any any.xsd">
<!-- code completion works here, ad give me 'el' -->
    <el>
<!-- code completion doesn't work from this level -->
    </el>
</el>
Comment 1 Martin Balin 2016-07-07 09:56:45 UTC
This old bug may not be relevant anymore. If you can still reproduce it in 8.2 development builds please reopen this issue.

Thanks for your cooperation,
NetBeans IDE 8.2 Release Boss