[jbosstools-issues] [JBoss JIRA] (JBIDE-16358) "jboss-client_6_0.xsd" is missing in XML catalog

Wolfgang Knauf (JIRA) issues at jboss.org
Sat Mar 29 17:12:12 EDT 2014


    [ https://issues.jboss.org/browse/JBIDE-16358?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12957541#comment-12957541 ] 

Wolfgang Knauf commented on JBIDE-16358:
----------------------------------------

I am sorry, I have overseen the file. It is present in the "create new XML file from schema definition" wizard. Maybe I got confused by the fact that "jboss-client_5-1.xsd" is present with two different Keys, but "jboss-client_6-0.xsd" is not (screenshot "jboss_client_catalog.png").

But I am not sure whether the problem is fixed by this: after finishing the wizard, an invalid file is created:

<?xml version="1.0" encoding="UTF-8"?>
<jboss:jboss-client xmlns:javaee="http://java.sun.com/xml/ns/javaee"
	xmlns:jboss="http://www.jboss.com/xml/ns/javaee" xmlns:xml="http://www.w3.org/XML/1998/namespace"
	xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
	xsi:schemaLocation="http://www.jboss.com/xml/ns/javaee http://www.jboss.com/xml/ns/javaee ">
</jboss:jboss-client>


The "schemaLocation" attribute is wrong, it should be
    xsi:schemaLocation="http://www.jboss.com/xml/ns/javaee http://www.jboss.org/j2ee/schema/jboss-client_6_0.xsd"

The schema location "http://www.jboss.com/xml/ns/javaee" cannot be resolved in the XML catalog I assume. Screenshot "jboss_client_wizard.png" shows the relevant wizard step. Does the "uri" element in "plugin.xml" allow to specify a web location for a schema file?
                
> "jboss-client_6_0.xsd" is missing in XML catalog
> ------------------------------------------------
>
>                 Key: JBIDE-16358
>                 URL: https://issues.jboss.org/browse/JBIDE-16358
>             Project: Tools (JBoss Tools)
>          Issue Type: Feature Request
>          Components: server
>    Affects Versions: 4.1.1.Final
>            Reporter: Wolfgang Knauf
>            Assignee: Denis Golovin
>            Priority: Minor
>
> See subject

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira


More information about the jbosstools-issues mailing list