[jbosstools-issues] [JBoss JIRA] Commented: (JBIDE-5020) XML complains when Tag Library is created

Viacheslav Kabanovich (JIRA) jira-events at lists.jboss.org
Wed Oct 21 08:56:05 EDT 2009


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

Viacheslav Kabanovich commented on JBIDE-5020:
----------------------------------------------

We cannot fix that warning (for versions 2.0 and 2.1). I think the warning is provided by some validation tool that cannot find schema. The generated tld file has correct reference to schema and in this case DOCTYPE is not required. We treat in the same way other schema-based xmls. As to missing tag, at some period previously we generated a tag with default name "EnterNewTag", but after discussions came to the current behavior.

> XML complains when Tag Library is created
> -----------------------------------------
>
>                 Key: JBIDE-5020
>                 URL: https://jira.jboss.org/jira/browse/JBIDE-5020
>             Project: Tools (JBoss Tools)
>          Issue Type: Bug
>          Components: XML Structured Editor
>    Affects Versions: 3.1.0.M4
>         Environment: Linux 32,64 and probably others, OpenJDK 1.6
>            Reporter: Jiri Peterka
>            Assignee: Viacheslav Kabanovich
>            Priority: Minor
>             Fix For: 3.1.0.CR1
>
>
> There are XML complains after Tag library is created:
> Tag library version:
> - 1.2 - ERROR
> The content of element type "taglib" is incomplete, it must match "(tlib-version,jsp-version,short-name,uri?,display-name?,small-icon?,large-icon?,description?,validator?,listener*,tag+)".
> ( Simply there is no tag "tag" defined in the default template and when first is created then error is gone )
> - 2.0 and 2.1 - WARNING
> No grammar constraints (DTD or XML schema) detected for the document.
> Expected state: No error messages / warnings present after using standard creation process.
> Steps to reproduce:
> Create JSF Project "JSFTest"
> In "Web Project" view select "JSFTest" -> "WebContent" -> Create Tag Library
> Open Tag Library XML file

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