[jbosstools-issues] [JBoss JIRA] Commented: (JBIDE-644) WTP Faces Config editor shows up on *all* .xml files

Denis Golovin (JIRA) jira-events at lists.jboss.org
Tue Aug 14 02:35:01 EDT 2007


    [ http://jira.jboss.com/jira/browse/JBIDE-644?page=comments#action_12371958 ] 
            
Denis Golovin commented on JBIDE-644:
-------------------------------------

New content type with content describer should be used for it. 

There is two strategies for it:
1. One content type for all xml files that can be edited in RH Xml Editor and one content describer with several parameters each declare DTD or schema. Content describer will check opened xml for DTD and Schemas defined in parameters.

2. Every known xml should have its content type first, then RH Xml Editor is binded to it.

XMLRootElementContentDescriber can be used as example to fix xml editor problem.

Slava what do you think?

> WTP Faces Config editor shows up on *all* .xml files
> ----------------------------------------------------
>
>                 Key: JBIDE-644
>                 URL: http://jira.jboss.com/jira/browse/JBIDE-644
>             Project: JBoss Tools
>          Issue Type: Bug
>          Components: UpStream
>    Affects Versions: 2.0.0.20070731
>            Reporter: Max Andersen
>
> Faces XML Config editor (also Red Hat XML Editor) shows up on all .xml files instead of only those they are related too.
> Can't this be remedied ?

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

        



More information about the jbosstools-issues mailing list