myfaces-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Scott O'Bryan (JIRA)" <...@myfaces.apache.org>
Subject [jira] [Commented] (TRINIDAD-2315) Fix schema errors in trinidad-config.xsd and menuNode.xsd
Date Thu, 11 Oct 2012 16:09:03 GMT

    [ https://issues.apache.org/jira/browse/TRINIDAD-2315?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13474270#comment-13474270
] 

Scott O'Bryan commented on TRINIDAD-2315:
-----------------------------------------

Good question.  They've been making some changes lately to the bug system and some of them
I don't like.  ;)  If there is no grant button then I'm going to assume it's unneeded.  :D
                
> Fix schema errors in trinidad-config.xsd and menuNode.xsd
> ---------------------------------------------------------
>
>                 Key: TRINIDAD-2315
>                 URL: https://issues.apache.org/jira/browse/TRINIDAD-2315
>             Project: MyFaces Trinidad
>          Issue Type: Bug
>    Affects Versions: 2.1.0-core
>            Reporter: Arjun Vade
>            Assignee: Scott O'Bryan
>            Priority: Minor
>             Fix For: 2.1.0-core
>
>         Attachments: 14068563.patch
>
>
> This jira is to fix schema errors in trinidad-config.xsd and menuNode.xsd
> Errors seen:
> * Invalid reference: http://myfaces.apache.org/trinidad/menu:sharedNode in menuNode.xsd
> * Invalid reference: http://myfaces.apache.org/trinidad/menu:groupNode in menuNode.xsd
> * Invalid reference: http://myfaces.apache.org/trinidad/menu:itemNode in menuNode.xsd
> * invalid facet "pattern" for type "simpleType" in trinidad-config.xsd
> Fix:
> * menuNode.xsd is referring to elements defined in sharedNode.xsd, groupNode.xsd &
itemNode.xsd without including them. The fix is to include the three files(sharedNode.xsd,
groupNode.xsd & itemNode.xsd) in menuNode.xsd.
> * trinidad-config.xsd has the following code in it.
>   <simpleType name="expressionType">
>     <restriction base="string" >
>       <pattern value="\#\{.+\}" />
>     </restriction>
>   </simpleType>
> In this '#' is unnecessarily escaped using backslash. Since '#' has no special meaning
in regular expressions, it should not be escaped.

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

Mime
View raw message