]
Josef Kopriva updated JBIDE-23997:
----------------------------------
Sprint: devex #159 December 2018
JBoss data source file schema error
-----------------------------------
Key: JBIDE-23997
URL:
https://issues.jboss.org/browse/JBIDE-23997
Project: Tools (JBoss Tools)
Issue Type: Bug
Components: jst
Affects Versions: 4.4.3.Final
Reporter: Josef Kopriva
Assignee: Josef Kopriva
Priority: Major
Fix For: LATER
An error message is shown, when new datasource file is added to a project:
{code:java}
Description Resource Path Location Type
cvc-elt.1: Cannot find the declaration of element
'datasources'. sa-ds.xml /testteast line 2 XML Problem
{code}
Datasource file:
{code:java}
<?xml version="1.0" encoding="UTF-8"?>
<datasources
xmlns="http://www.jboss.org/ironjacamar/schema">
<datasource jndi-name="java:jboss/datasources/sa" enabled="true"
use-java-context="true" pool-name="sa">
<connection-url>jdbc:h2:tcp://localhost/sakila</connection-url>
<driver>h2-1.3.161.jar</driver>
<pool></pool>
<security>
<user-name>sa</user-name>
<password></password>
</security>
</datasource>
</datasources>
{code}