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.
Summary: | XSL code completion | ||
---|---|---|---|
Product: | xml | Reporter: | Remco Hulshoff <medusa> |
Component: | Text-Edit | Assignee: | Asgeir Asgeirsson <asgeir> |
Status: | RESOLVED FIXED | ||
Severity: | blocker | ||
Priority: | P4 | ||
Version: | 3.x | ||
Hardware: | All | ||
OS: | All | ||
Issue Type: | ENHANCEMENT | Exception Reporter: | |
Bug Depends on: | 14296 | ||
Bug Blocks: |
Description
Remco Hulshoff
2002-02-11 09:23:49 UTC
Cool Medusa. If you want to focus just on XSLT it is pretty simple to achieve it. You simply implement org.netbeans.modules.xml.spi.model GrammarQuery SPI. Once implemented, it can be plugged in. Unfortunately GrammarQuery plug-in mechanism is currently hardcoded in org.netbeans.modules.xml.text.completion.XMLCompletionQuery. I can modify it. More generally, universal namespace aware XML Schema completition would be better solution, but it is rather complex. You are welcome, ask any questions In 3.4 timeframe we have to rely on "specify fake DTD" workaround. The workaround is simple: both XSLT and XHTML DTDs are avalilable for public and parametrizable. Let these are considered while planning next release. Target milestone was changed from not determined to TBD Feature positively influences user productivity. Feature positively influences user productivity. *** Issue 22598 has been marked as a duplicate of this issue. *** Asgeir is working on it and his implementation offers some advanced features such as Xpath completion in select attributes, etc. You can check it out in 4.0 development versions. This is implemented by the org.netbeans.modules.xsl.grammar.XSLGrammarQuery class which is located in the xml/xsl module. This functionality is targeted to be a part of NetBeans 3.5 standard release. At this moment it is necessary to stabilize it fully, pass I18N checks, pass A11Y checks, pass UI checks and properly document it. |