[
http://jira.jboss.com/jira/browse/JBIDE-1771?page=comments#action_12406005 ]
Victor Rubezhny commented on JBIDE-1771:
----------------------------------------
Max, and how these URIs are to be processed in this case? As a system ID (and when
selected the OpenOn should find the appropriate file in the XMLLatalog) and as public ID
(and when selected the OpenOn should open the URL in web-browser)... But the schema is to
be the same for the pair of system/public ID...
Seems that I misunderstand something...
If you're right we have to have to cases when Ctrl-clicking on the two parts of the
xsi:schemaLocation:
1. when ctrl-clicking on the first part (
http://java.sun.com/xml/ns/javaee) the XMLCatalog
is to be searched for the schema (JBDS 1.0.0 GA will not find any schemas as it
doesn't have a catalog. The latest SVN version will find a schema in catalog)
2. when ctrl-clicking on the second part
(
http://java.sun.com/xml/ns/javaee/web-facesconfig_1_2.xsd) the URL is to be openned in
web-browser (For both: JBDS 1.0.0 GA and the latest SVN version. The XMLCatalog is not to
be searched in)
What is the right algorithm to be used here?
Snjezana, in the screenshot attached I see the whole xsi:schemaLocation attribute value is
underlined. Is it from JBDS 1.0.0 GA or from the latest SVN? (The picture is how it forks
for me in the latest SVN version)
OpenOn for xsi:schemaLocation attribute value doesn't work in
faces-config.xml.
-------------------------------------------------------------------------------
Key: JBIDE-1771
URL:
http://jira.jboss.com/jira/browse/JBIDE-1771
Project: Tools (JBoss Tools)
Issue Type: Bug
Affects Versions: 2.0.1
Reporter: Anton Klimkovich
Assigned To: Victor Rubezhny
Fix For: LATER
Attachments: JBDSnightlyBuildAndCurrentSvn.gif
JSF 1.2
<?xml version="1.0" encoding="UTF-8"?>
<faces-config version="1.2"
xmlns="http://java.sun.com/xml/ns/javaee"
xmlns:xi="http://www.w3.org/2001/XInclude"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://java.sun.com/xml/ns/javaee
http://java.sun.com/xml/ns/javaee/web-facesconfig_1_2.xsd">
JSF 1.1
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE faces-config PUBLIC "-//Sun Microsystems, Inc.//DTD JavaServer Faces
Config 1.1//EN"
"http://java.sun.com/dtd/web-facesconfig_1_1.dtd">
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
http://jira.jboss.com/jira/secure/Administrators.jspa
-
For more information on JIRA, see:
http://www.atlassian.com/software/jira