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: | xls transform results in "can't declare any more prefixes in this context" | ||
---|---|---|---|
Product: | xml | Reporter: | leonw <leonw> |
Component: | Schema | Assignee: | issues@xml <issues> |
Status: | VERIFIED FIXED | ||
Severity: | blocker | ||
Priority: | P3 | ||
Version: | 4.x | ||
Hardware: | PC | ||
OS: | Windows XP | ||
Issue Type: | DEFECT | Exception Reporter: | |
Attachments: | JSP file using x:transform which compiles but fails in execution |
Description
leonw
2004-09-25 17:18:25 UTC
Created attachment 17870 [details]
JSP file using x:transform which compiles but fails in execution
I have found a solution to prevent the error. It was the stylesheet; the template generates a line like: <xsl:stylesheet version="1.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform"> but the transformer does not accept a version before the xmlns. The line: <xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform" version="1.0"> does work. I do not know whether this indicates an error in the templates used by NetBeans 4.0 and 3.6, or that the transformer is in error. It is however a strange error and it would be helpfull if the templates would be modified such that an out-of-the-box NetBeans with NB created templates would run without trouble. reassigned to module that provides this template Leon, which version of the following do you use? NetBeans JSTL JDK Thanks. So I changed the templates of xsl files for NB 4.0. But the main problem is not in the template and the exception "java.lang.IllegalStateException: can't declare any more prefixes in this context is still here. TM 5.0->TBD Fixed sometime by 6.0 VERIFIED in Build 200709260000 |