[
https://issues.jboss.org/browse/JBIDE-8496?page=com.atlassian.jira.plugin...
]
Denis Maliarevich edited comment on JBIDE-8496 at 3/3/11 2:30 PM:
------------------------------------------------------------------
If casting to JSPedCSSModelImpl is skipped there are other exceptions appear. (i.e.
casting CSSStyleRuleImpl to the org.w3c.dom.Node)
So the problem is that the CSS document model is returned instead of xml model.
And the editor itself looks more like css file.
was (Author: dmaliarevich):
If casting to JSPedCSSModelImpl is skipped there are other exceptions appear.
So the problem is the CSS document model is returned instead of xml model.
CSSAllTests failures.
---------------------
Key: JBIDE-8496
URL:
https://issues.jboss.org/browse/JBIDE-8496
Project: Tools (JBoss Tools)
Issue Type: Bug
Components: jsp/jsf/xml source editing
Affects Versions: 3.2.1
Reporter: Alexey Kazakov
Assignee: Denis Maliarevich
Fix For: 3.2.1
Error Message
org.eclipse.jst.jsp.css.core.internal.document.JSPedCSSModelImpl cannot be cast to
org.eclipse.wst.xml.core.internal.provisional.document.IDOMModel
Stacktrace
java.lang.ClassCastException:
org.eclipse.jst.jsp.css.core.internal.document.JSPedCSSModelImpl cannot be cast to
org.eclipse.wst.xml.core.internal.provisional.document.IDOMModel
at
org.jboss.tools.jst.css.test.jbide.ExtendingCSSViewTest_JBIDE4850.testInlineStyleEditing(ExtendingCSSViewTest_JBIDE4850.java:60)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
Error Message
org.eclipse.jst.jsp.css.core.internal.document.JSPedCSSModelImpl cannot be cast to
org.eclipse.wst.xml.core.internal.provisional.document.IDOMModel
Stacktrace
java.lang.ClassCastException:
org.eclipse.jst.jsp.css.core.internal.document.JSPedCSSModelImpl cannot be cast to
org.eclipse.wst.xml.core.internal.provisional.document.IDOMModel
at
org.jboss.tools.jst.css.test.jbide.ExtendingCSSViewTest_JBIDE4850.testStyleTagEditing(ExtendingCSSViewTest_JBIDE4850.java:103)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
--
This message is automatically generated by JIRA.
For more information on JIRA, see:
http://www.atlassian.com/software/jira