[
https://issues.jboss.org/browse/JBIDE-16358?page=com.atlassian.jira.plugi...
]
Wolfgang Knauf commented on JBIDE-16358:
----------------------------------------
For the use case "create XML file based on schema file from XML catalog", the
version with
{code:xml}
<uri
name="http://www.jboss.com/xml/ns/javaee" ...
{code}
results in a xml file which cannot be validated because of a wrong schema location (see
above).
Here the version with the "real" web url creates a correct file.
I am not sure whether version 1 is helpful in any case. All
"jboss-client_x_y.xsd" files have the same namespace URI (and also
"jboss_x_y.xsd"), so if a xml file just declares the default namespace without
schema location hint, it would not be possible to pick the correct file to validate
against:
{code:xml}
<?xml version="1.0" encoding="UTF-8"?>
<jboss-client
xmlns="http://www.jboss.com/xml/ns/javaee"
xmlns:javaee="http://java.sun.com/xml/ns/javaee"
xmlns:xml="http://www.w3.org/XML/1998/namespace"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
...
{code}
By the way: taking a look at my %WILDFLY_HOME%\docs\schema" directory, there are a
lot more "jboss-...xsd" files (not the "jboss-as....xsd" files, which
are needed only for server config), which all are not part of the catalog.
"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: Rob Stryker
Priority: Minor
Fix For: 4.2.0.Beta2
Attachments: jboss_client_catalog.png, jboss_client_wizard.png
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