[jboss-jira] [JBoss JIRA] Updated: (JBMETA-5) jboss-metadata.jar needs refresh of schema/web-app_2_4.xsd

Alexey Loubyansky (JIRA) jira-events at lists.jboss.org
Mon Mar 10 08:01:58 EDT 2008


     [ http://jira.jboss.com/jira/browse/JBMETA-5?page=all ]

Alexey Loubyansky updated JBMETA-5:
-----------------------------------

        Fix Version/s: 1.0.0.Beta7
    Affects Version/s: 1.0.0.Beta6

> jboss-metadata.jar needs refresh of schema/web-app_2_4.xsd
> ----------------------------------------------------------
>
>                 Key: JBMETA-5
>                 URL: http://jira.jboss.com/jira/browse/JBMETA-5
>             Project: JBoss Metadata
>          Issue Type: Bug
>      Security Level: Public(Everyone can see) 
>    Affects Versions: 1.0.0.Beta6
>            Reporter: Darryl Miles
>         Assigned To: Alexey Loubyansky
>             Fix For: 1.0.0.Beta7
>
>
> The main concern is that the regex for validating:
> <mime-mapping>
>         <extension>xhtml</extension>
>         <mime-type>application/xhtml+xml</mime-type>
> </mime-mapping>
> The "+" character is not allowed by the older regex but its valid for a MIME type and at this time with the default out-the-box configuration of JBoss 5 any web-app using the above mime-mapping can not be deployed as the parser validates the XSD.
> Is incorrect, Sun fixed their XSD sometime ago now to change:
> --- web-app_2_4.xsd     2008-03-02 00:49:56.000000000
> +0000
> +++ ../web-app_2_4.xsd  2007-12-18 09:05:06.000000000 +0000
> @@ -805,7 +798,7 @@
>      <xsd:simpleContent>
>        <xsd:restriction base="j2ee:string">
> -       <xsd:pattern value="[\p{L}\-\p{Nd}]+/[\p{L}\-\p{Nd}\.]+"/>
> +       <xsd:pattern value="[^\p{Cc}^\s]+/[^\p{Cc}^\s]+"/>
>        </xsd:restriction>
>      </xsd:simpleContent>
>    </xsd:complexType>
> See also Tomcat 6 Bugzilla entry: https://issues.apache.org/bugzilla/show_bug.cgi?id=44517
> Also Sun have released a newer schema/web-app_2_5.xsd maybe that should be updated too, but the regex in the currently shipped one is okay with regards to this regex but I'm sure there have been other changes as bug in the original web-app_2_5.xsd have been worked out for the new 2.5 technology.

-- 
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 jboss-jira mailing list