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.
In the New File Type wizard, when you choose "by XML Root Element" in the first panel, you can only be creating an XML file type. Therefore, if this radiobutton is selected, the layer.xml should also register actions like "Check XML", "Validate XML", "Generate DTD", "XSL Transformation". The way things are now, you definitely need (at least some of) them, and need to add them manually.
Maybe. This stuff is available from the xml/api module. In practice, if you provided Validate you would also need to provide a catalog, which needs another API. (These APIs seem to be semistable at this point - they are not actively supported but not being broken either.) I would not want to go too deeply into providing XML editing infrastructure generally; the user may not be interested in showing XML text editing at all.
OK, but then why would a user create a new file type based on a namespace or XML root element? If they're interested in opening it in the Source Editor, then they're interested in editing it, right?
But I understand your other points and think this would make for a fine help topic.
Many people making a new XML-based file type *aren't* interested in opening it in the XML editor. We provide the one line of code and one layer entry needed to make it possible to just open the file, but providing full XML editing support is another matter. (As is providing realistic non-textual editing support, which is quite tricky to get right given the current APIs.)
I think this can be closed -- don't know what status to set it to though. WONTFIX? Or maybe the person to whom this is assigned should do that.
ok, closing as wontfix.