geronimo-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Raghu Katrapalli (JIRA)" <j...@apache.org>
Subject [jira] Created: (GERONIMO-2731) Deployment fails when mime-type has "+" sign
Date Fri, 12 Jan 2007 22:18:27 GMT
Deployment fails when mime-type has "+" sign
--------------------------------------------

                 Key: GERONIMO-2731
                 URL: https://issues.apache.org/jira/browse/GERONIMO-2731
             Project: Geronimo
          Issue Type: Bug
      Security Level: public (Regular issues)
          Components: deployment
    Affects Versions: 1.1.1
         Environment: Linux
            Reporter: Raghu Katrapalli


Looks like this is a limitation introduced in the new web-app xsd (version 2.4)
When one of the mime type entries has a PLUS sign, the deployment tool throws the below error
-

Caused by: org.apache.xmlbeans.XmlException: Invalid deployment descriptor: [error: cvc-datatype-valid.1.1:
string value 'application/srgs+xml' does not match pattern for mime-typeType in namespace
http://java.sun.com/xml/ns/j2ee]
Descriptor: <web-app xsi:schemaLocation="http://java.sun.com/xml/ns/j2eehttp://java.sun.com/xml/ns/j2ee/web-app_2_4.xsd"
version="2.4" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://java.sun.com/xml/ns/j2ee">

The web.xml has the following a mime-type entry which has a PLUS sign (This is a standard
format specified by the W3 organization for Voice XML to use the XML Grammars)
<mime-mapping>
    <extension>grxml</extension>
    <mime-type>application/srgs+xml</mime-type>
  </mime-mapping>.

I have no problem deploying the application with this extension in the earlier web-app versions
(2.3 dtd).
Looks like this is introduced with the 2.4 XSD but, I tried to open this issue in the Sun
site but couldn't get a location where I can open this issue.

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: https://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

Mime
View raw message