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.
Hello, i'm using a maven 2 project, everything is working except the auto code completion in xml files ( using the schemaLocation...) In my xml files i'm using something like xsi:schemaLocation="http://www.springframework.org/schema/webflow http://www.springframework.org/schema/webflow/spring-webflow-2.0.xsd"> but the auto complete functionnality does not work... In a "normal" netbeans project, netbeans retrieve a xml catalog OASIS from the jar libraries and we can use it to auto complete in xml files (.xsd files)... Is this a bug? or is there a manipulation??? i've searched everywhere and no answer... Thanks!
-> bug. as far as I know it should be providing the completion. maybe it's related to "feature on demand"? reassigning to xml for evaluation
Hello, I just tried to uninstall the "feature on demande" to get all the features working but it still doesn't work, my schema catalog aren't retrieved from my Maven jars and i still can't use xml code completion. i think it's a bug. Is there a way to tell to netbeans to download the schema from the web instead of looking in the libraries? I'm using spring framework with netbeans. Example of xml file: <flow xmlns="http://www.springframework.org/schema/webflow" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://www.springframework.org/schema/webflow http://www.springframework.org/schema/webflow/spring-webflow-2.0.xsd"> No code completion happen, but this work in a normal project using ants instead of maven...
Alex, please take a look.
Please, attach your project or XML file.
Created attachment 93572 [details] Just an exemple of xml file using XSD schema, i added the library jar too... The xml code completion doesnt work on a maven 2 project But it works on a normal Ant project.
Depends on the bug https://netbeans.org/bugzilla/show_bug.cgi?id=180205.
Fixed due to fix for the bug https://netbeans.org/bugzilla/show_bug.cgi?id=180205 (fixed in trunk: http://hg.netbeans.org/main/rev/16a6c70dd1b7).