[
https://jira.jboss.org/jira/browse/JBIDE-5444?page=com.atlassian.jira.plu...
]
Viacheslav Kabanovich commented on JBIDE-5444:
----------------------------------------------
The ESB project wizard generates file
<jbossesb
xmlns="http://anonsvn.labs.jboss.com/labs/jbossesb/trunk/product/etc...
parameterReloadSecs="5">
</jbossesb>
It has attribute xmlns but misses attributes xmlns:xsi and xsi:schemaLocation. ESB files
created by ESB File wizard, and even though the they use old schema location, content
assist works because it is registered in org.eclipse.wst.xml.core.catalogContributions.
Attribute xmlns must contain namespace uri, not schema location. In particular case, when
namespace uri coincides with schema location attributes xmlns:xsi and xsi:schemaLocation
may be omitted. However, looking into jbossesb-1.0.1.xsd at new location, I see that it is
the same old uri. So, I would recommend to generate file as follows:
<jbossesb
xmlns="http://anonsvn.labs.jboss.com/labs/jbossesb/trunk/product/etc...
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://anonsvn.labs.jboss.com/labs/jbossesb/trun...
http://anonsvn.jboss.org/repos/labs/labs/jbossesb/trunk/product/etc/schem...
</jbossesb>
Here only the location part of xsi:schemaLocation (which maps uri to location) is replaced
to the new valid value.
ESB jboss-esb.xml schema location needs fixing
----------------------------------------------
Key: JBIDE-5444
URL:
https://jira.jboss.org/jira/browse/JBIDE-5444
Project: Tools (JBoss Tools)
Issue Type: Bug
Components: esb
Affects Versions: 3.1.0.CR1
Reporter: Stelios Koussouris
Assignee: Viacheslav Kabanovich
Priority: Blocker
Fix For: 3.1.0.CR2
When creating a new jboss-esb.xml file using JBoss Developer Studio autocompletion does
not work because the generated file points to a schema location that does not exist. It
seems the correct location is:
http://anonsvn.jboss.org/repos/labs/labs/jbossesb/trunk/product/etc/schem...
whilst JBDS uses by default
http://anonsvn.labs.jboss.com/labs/jbossesb/trunk/product/etc/schemas/xml...
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
https://jira.jboss.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see:
http://www.atlassian.com/software/jira