[JBoss JIRA] (JBIDE-10472) CLONE - XHTML Validator hangs eclipse
by Alexey Kazakov (Created) (JIRA)
CLONE - XHTML Validator hangs eclipse
-------------------------------------
Key: JBIDE-10472
URL: https://issues.jboss.org/browse/JBIDE-10472
Project: Tools (JBoss Tools)
Issue Type: Bug
Components: jsp/jsf/xml source editing
Affects Versions: 3.3.0.M4
Reporter: Alexey Kazakov
Assignee: Victor Rubezhny
Priority: Blocker
Fix For: 3.3.0.M5, 3.3.0.Beta1
Attachments: pluginsxml.patch
Create the following html and build the project:
{code}
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<html>
<head>
<title>some title</title>
</head>
<body>
<h2>some heading.</h2>
SOME TEST!!!!<br>
MORE TEXT
<script type="text/javascript" language="javascript" >
// A comment
function GetCookie (name) {
var arg = name + "=";
var alen = arg.length;
var clen = document.cookie.length;
var i = 0;
while (i < clen) {
var j = i + alen;
if (document.cookie.substring(i, j) == arg)
return getCookieVal (j);
i = document.cookie.indexOf(" ", i) + 1;
if (i == 0) break;
}
return null;
}
function getCookieVal (offset) {
var endstr = document.cookie.indexOf (";", offset);
if (endstr == -1)
endstr = document.cookie.length;
return document.cookie.substring(offset, endstr);
}
//comment
var xyz = GetCookie('xyz'); // Comments
var datum = new Date();
var d1 = datum.getTime().toString();
// comment "" bla
var d2 = "100";
// comment
var d3 = "dba";
// comment
var abc = 999;
// comment
function urlEncode (string) {
string = string.replace(/ /g, '+');
return escape(string);
}
// comment
// comment
if(cookie != "" && cookie != null ){
document.write("<img src=\"http://example.com./xxx?bla=" + xyz + "&bar="+abc+"&d1=" +urlEncode(d1)+ "&d2=" +urlEncode(d2) +"&d3=" +urlEncode(d3)+"\" alt=\"\" width=\"1\" height=\"1\" border=\"0\" >");
}
else {
var cookie = "kaz"
}
</script>
</body>
</html>
{code}
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.jboss.org/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira
12 years, 4 months
[JBoss JIRA] (JBIDE-10660) JSF EL validation is not scoped correctly
by Cody Lerum (JIRA)
Cody Lerum created JBIDE-10660:
----------------------------------
Summary: JSF EL validation is not scoped correctly
Key: JBIDE-10660
URL: https://issues.jboss.org/browse/JBIDE-10660
Project: Tools (JBoss Tools)
Issue Type: Bug
Affects Versions: 3.3.0.M5
Reporter: Cody Lerum
Given the following code if you hold down control and click on the second #{_a....} it will take you to a type of providerAccountType where it should be providerAccountScope. It seems that if you keep using _a as the var it will always follow the first declaration even though it should be scoped to only be visible in the h:selectOneMenu. This can be confirmed by trying to use the #{_a} completely outside of the <h:selectOneMenu> and seeing that code assist resolves the _a to the first type of providerAccountType
{code}
<h:selectOneMenu value="#{providerBillingAccount.providerAccountType}" required="true" requiredMessage="Required">
<f:selectItem itemLabel="Choose"/>
<f:selectItems value="#{enumValues.providerAccountType}" var="_a" itemLabel="#{_a.displayName}" />
</h:selectOneMenu>
<h:selectOneMenu value="#{providerBillingAccount.providerAccountScope}" required="true" requiredMessage="Required">
<f:selectItem itemLabel="Choose"/>
<f:selectItems value="#{enumValues.providerAccountScope}" var="_a" itemLabel="#{_a.displayName}" />
</h:selectOneMenu>
{code}
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.jboss.org/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira
12 years, 4 months
[JBoss JIRA] (JBIDE-10448) Validation Error: NPE on web.xml
by Ron Ratovsky (Created) (JIRA)
Validation Error: NPE on web.xml
--------------------------------
Key: JBIDE-10448
URL: https://issues.jboss.org/browse/JBIDE-10448
Project: Tools (JBoss Tools)
Issue Type: Bug
Components: common/jst/core
Environment: Win7 64bit
Eclipse 3.7.1 64bit
JBoss JAX-RS Tools 1.2.2.v20111204-0420-H640-Beta1 org.jboss.tools.ws.jaxrs.feature.feature.group JBoss by Red Hat
JBoss Maven Integration 1.3.0.v20111203-1300-H486-M5 org.jboss.tools.maven.feature.feature.group JBoss by Red Hat
JBoss Maven JAX-RS Configurator 1.3.0.v20111203-1300-H486-M5 org.jboss.tools.maven.jaxrs.feature.feature.group JBoss by Red Hat
JBoss WebServices Tools 1.2.2.v20111204-0420-H640-Beta1 org.jboss.tools.ws.feature.feature.group JBoss by Red Hat
Reporter: Ron Ratovsky
Assignee: Alexey Kazakov
I get an odd error on the web.xml file of a project, where the marker points to a comment.
Attribute servlet-class references to non-existent class com.sun.jersey.spi.spring.container.servlet.SpringServlet web.xml /sheker/src/main/webapp/WEB-INF - line 19 - Web XML Problem
When trying to open the file, I get the following exception in the log: http://mysticpaste.com/private/8xH1nxLeqf
Sample web.xml with the problem: http://mysticpaste.com/private/SqlQvmTYuR (please note that the error points to the same line 19 in the sample web.xml)
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.jboss.org/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira
12 years, 4 months
[JBoss JIRA] (JBIDE-10742) JBoss GWT plugins depend on GPE 2.3 but GPE 2.5 is on our requirements mirror
by Nick Boldt (JIRA)
Nick Boldt created JBIDE-10742:
----------------------------------
Summary: JBoss GWT plugins depend on GPE 2.3 but GPE 2.5 is on our requirements mirror
Key: JBIDE-10742
URL: https://issues.jboss.org/browse/JBIDE-10742
Project: Tools (JBoss Tools)
Issue Type: Bug
Components: GWT
Affects Versions: 3.3.0.Beta1
Reporter: Nick Boldt
Assignee: Andre Dietisheim
Fix For: 3.3.0.Beta1
https://hudson.qa.jboss.com/hudson/job/jbosstools-3.3_trunk.aggregate/415...
{code}
[ERROR] Cannot resolve project dependencies:
[ERROR] Software being installed: org.jboss.tools.site.core raw:0.0.2.'SNAPSHOT'/format(n[.n=0;[.n=0;[-S]]]):0.0.2-SNAPSHOT
[ERROR] Missing requirement: org.jboss.tools.gwt.core 1.0.2.v20110721-1638-H138-M3 requires 'bundle com.google.gwt.eclipse.sdkbundle 2.3.0' but it could not be found
[ERROR] Missing requirement: org.jboss.tools.gwt.core 1.0.2.v20110829-0234-H201-M3 requires 'bundle com.google.gwt.eclipse.sdkbundle 2.3.0' but it could not be found
[ERROR] Missing requirement: org.jboss.tools.gwt.core 1.0.2.v20120124-2059-H421-Beta1 requires 'bundle com.google.gwt.eclipse.sdkbundle 2.3.0' but it could not be found
[ERROR] Missing requirement: org.jboss.tools.gwt.core 1.0.2.v20120125-0309-H422-Beta1 requires 'bundle com.google.gwt.eclipse.sdkbundle 2.3.0' but it could not be found
[ERROR] Cannot satisfy dependency: org.jboss.tools.gwt.feature.feature.group 1.0.1.v20110721-1638-H138-M3 depends on: org.jboss.tools.gwt.core [1.0.2.v20110721-1638-H138-M3]
[ERROR] Cannot satisfy dependency: org.jboss.tools.gwt.feature.feature.group 1.0.2.v20110829-0234-H201-M3 depends on: org.jboss.tools.gwt.core [1.0.2.v20110829-0234-H201-M3]
[ERROR] Cannot satisfy dependency: org.jboss.tools.gwt.feature.feature.group 1.0.2.v20120124-2059-H421-Beta1 depends on: org.jboss.tools.gwt.core [1.0.2.v20120124-2059-H421-Beta1]
[ERROR] Cannot satisfy dependency: org.jboss.tools.gwt.feature.feature.group 1.0.2.v20120125-0309-H422-Beta1 depends on: org.jboss.tools.gwt.core [1.0.2.v20120125-0309-H422-Beta1]
[ERROR] Cannot satisfy dependency: org.jboss.tools.site.core raw:0.0.2.'SNAPSHOT'/format(n[.n=0;[.n=0;[-S]]]):0.0.2-SNAPSHOT depends on: org.jboss.tools.gwt.feature.feature.group 0.0.0
[ERROR]
[ERROR] Internal error: java.lang.RuntimeException: "No solution found because the problem is unsatisfiable.": ["Unable to satisfy dependency from org.eclipse.jdt.core 3.7.1.v_OTDT_r201_201109101025 to org.eclipse.objectteams.otdt.core.patch.feature.group [2.0.0,3.0.0).", "Unable to satisfy dependency from org.jboss.tools.gwt.core 1.0.2.v20110721-1638-H138-M3 to bundle com.google.gwt.eclipse.sdkbundle 2.3.0.", "Unable to satisfy dependency from org.jboss.tools.gwt.core 1.0.2.v20110829-0234-H201-M3 to bundle com.google.gwt.eclipse.sdkbundle 2.3.0.", "Unable to satisfy dependency from org.jboss.tools.gwt.core 1.0.2.v20120124-2059-H421-Beta1 to bundle com.google.gwt.eclipse.sdkbundle 2.3.0.", "Unable to satisfy dependency from org.jboss.tools.gwt.core 1.0.2.v20120125-0309-H422-Beta1 to bundle com.google.gwt.eclipse.sdkbundle 2.3.0.", "No solution found because the problem is unsatisfiable."] -> [Help 1]
{code}
Solution: make org.jboss.tools.gwt.core 1.0.2 requires bundle com.google.gwt.eclipse.sdkbundle >2.3.0, not =2.3.0.
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.jboss.org/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira
12 years, 4 months