[jbosstools-issues] [JBoss JIRA] Commented: (JBIDE-3964) Incorrect work of CA for newly created TLD file

Viacheslav Kabanovich (JIRA) jira-events at lists.jboss.org
Fri Mar 27 12:35:22 EDT 2009


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

Viacheslav Kabanovich commented on JBIDE-3964:
----------------------------------------------

The problem is in attribute xsi:schemaLocation which we generate as

xsi:schemaLocation="http://java.sun.com/xml/ns/j2ee web-jsptaglibrary_2_0.xsd"
xsi:schemaLocation="http://java.sun.com/xml/ns/javaee web-jsptaglibrary_2_1.xsd"

for versions 2.0 and 2.1.

It is not error, but this value implies that schema file must be placed in the same folder as tld file. For projects created by our wizards it is not the case, and WTP does not bother to guess xsd by short uri.

For all other xml files based on schemas we generate complete uri, so let us do the same in this case:

xsi:schemaLocation="http://java.sun.com/xml/ns/j2ee http://java.sun.com/xml/ns/j2ee/web-jsptaglibrary_2_0.xsd"
xsi:schemaLocation="http://java.sun.com/xml/ns/javaee http://java.sun.com/xml/ns/javaee/web-jsptaglibrary_2_1.xsd"


> Incorrect work of CA for newly created TLD file
> -----------------------------------------------
>
>                 Key: JBIDE-3964
>                 URL: https://jira.jboss.org/jira/browse/JBIDE-3964
>             Project: Tools (JBoss Tools)
>          Issue Type: Bug
>          Components: jsp/jsf/xml source editing
>    Affects Versions: 3.0.0.GA
>            Reporter: Anton Klimkovich
>            Assignee: Viacheslav Kabanovich
>             Fix For: 3.1.0
>
>         Attachments: Ca_for_TLD.PNG
>
>
> EXECUTE: Create seam project
> EXECUTE: Create new TLD file
> ASSERT:    File should be created and opened in TLD Editor
> EXECUTE: Switch to Source tab
> EXECUTE: Set cursor before </taglib> and call CA
> FAILURE:   List of CA is empty
> EXECUTE: Switch to Tree tab
> EXECUTE: Add new Function for example
> EXECUTE: Switch to Source tab
> EXECUTE: Set cursor before </taglib> and call CA
> ASSERT:    function is present in List

-- 
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

        



More information about the jbosstools-issues mailing list