You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@tomcat.apache.org by jf...@apache.org on 2004/08/24 19:01:34 UTC

cvs commit: jakarta-servletapi-5/jsr154/src/share/dtd web-app_2_4.xsd

jfarcand    2004/08/24 10:01:34

  Modified:    jsr154/src/share/dtd web-app_2_4.xsd
  Log:
  Update the web-app_2_4.xsd according
  to the JSR154 maintenance release.
  
    o The restriction facet of mime-typeType should be updated
      from:-
          <xsd:pattern value="[\p{L}\-\p{Nd}]+/[\p{L}\-\p{Nd}\.]+"/>
      to:-
          <xsd:pattern value="[^\p{Cc}^\s]+/[^\p{Cc}^\s]+
  
  submitted by: Yutaka Yoshida at sun dot com
  
  Revision  Changes    Path
  1.14      +2 -2      jakarta-servletapi-5/jsr154/src/share/dtd/web-app_2_4.xsd
  
  Index: web-app_2_4.xsd
  ===================================================================
  RCS file: /home/cvs/jakarta-servletapi-5/jsr154/src/share/dtd/web-app_2_4.xsd,v
  retrieving revision 1.13
  retrieving revision 1.14
  diff -u -r1.13 -r1.14
  --- web-app_2_4.xsd	18 Mar 2004 16:40:34 -0000	1.13
  +++ web-app_2_4.xsd	24 Aug 2004 17:01:34 -0000	1.14
  @@ -30,7 +30,7 @@
     <xsd:annotation>
       <xsd:documentation>
   
  -      Copyright 2002 Sun Microsystems, Inc., 901 San Antonio
  +      Copyright 2004 Sun Microsystems, Inc., 901 San Antonio
         Road, Palo Alto, California 94303, U.S.A. All rights
         reserved.
   
  @@ -804,7 +804,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>
  
  
  

---------------------------------------------------------------------
To unsubscribe, e-mail: tomcat-dev-unsubscribe@jakarta.apache.org
For additional commands, e-mail: tomcat-dev-help@jakarta.apache.org


Re: cvs commit: jakarta-servletapi-5/jsr154/src/share/dtd web-app_2_4.xsd

Posted by Jan Luehe <Ja...@Sun.COM>.
Jeanfrancois Arcand wrote:
> 
> 
> Petr Jiricka wrote:
> 
>> Hi,
>>
>> I remember there was an issue that the default DD in conf/web.xml was 
>> not valid by the schema - is this change related to that issue?
> 
> 
> Yes, this should fix the issue.

Also, with the updated schema, it is now possible to upgrade the
default web.xml to Servlet 2.4, which I just did.

Will commit the same change to TOMCAT_5.

Jan

> 
> -- Jeanfrancois
> 
>>
>> Thanks
>> Petr
>>
>> jfarcand@apache.org wrote:
>>
>>> jfarcand    2004/08/24 10:01:34
>>>
>>>  Modified:    jsr154/src/share/dtd web-app_2_4.xsd
>>>  Log:
>>>  Update the web-app_2_4.xsd according
>>>  to the JSR154 maintenance release.
>>>  
>>>    o The restriction facet of mime-typeType should be updated
>>>      from:-
>>>          <xsd:pattern value="[\p{L}\-\p{Nd}]+/[\p{L}\-\p{Nd}\.]+"/>
>>>      to:-
>>>          <xsd:pattern value="[^\p{Cc}^\s]+/[^\p{Cc}^\s]+
>>>  
>>>  submitted by: Yutaka Yoshida at sun dot com
>>>  
>>>  Revision  Changes    Path
>>>  1.14      +2 -2      
>>> jakarta-servletapi-5/jsr154/src/share/dtd/web-app_2_4.xsd
>>>  
>>>  Index: web-app_2_4.xsd
>>>  ===================================================================
>>>  RCS file: 
>>> /home/cvs/jakarta-servletapi-5/jsr154/src/share/dtd/web-app_2_4.xsd,v
>>>  retrieving revision 1.13
>>>  retrieving revision 1.14
>>>  diff -u -r1.13 -r1.14
>>>  --- web-app_2_4.xsd    18 Mar 2004 16:40:34 -0000    1.13
>>>  +++ web-app_2_4.xsd    24 Aug 2004 17:01:34 -0000    1.14
>>>  @@ -30,7 +30,7 @@
>>>     <xsd:annotation>
>>>       <xsd:documentation>
>>>    -      Copyright 2002 Sun Microsystems, Inc., 901 San Antonio
>>>  +      Copyright 2004 Sun Microsystems, Inc., 901 San Antonio
>>>         Road, Palo Alto, California 94303, U.S.A. All rights
>>>         reserved.
>>>    @@ -804,7 +804,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>
>>>  
>>>  
>>>  
>>>
>>> ---------------------------------------------------------------------
>>> To unsubscribe, e-mail: tomcat-dev-unsubscribe@jakarta.apache.org
>>> For additional commands, e-mail: tomcat-dev-help@jakarta.apache.org
>>>
>>>  
>>>
>>
>>
>> ---------------------------------------------------------------------
>> To unsubscribe, e-mail: tomcat-dev-unsubscribe@jakarta.apache.org
>> For additional commands, e-mail: tomcat-dev-help@jakarta.apache.org
>>
>>
> 
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: tomcat-dev-unsubscribe@jakarta.apache.org
> For additional commands, e-mail: tomcat-dev-help@jakarta.apache.org
> 



---------------------------------------------------------------------
To unsubscribe, e-mail: tomcat-dev-unsubscribe@jakarta.apache.org
For additional commands, e-mail: tomcat-dev-help@jakarta.apache.org


Re: cvs commit: jakarta-servletapi-5/jsr154/src/share/dtd web-app_2_4.xsd

Posted by Jeanfrancois Arcand <jf...@apache.org>.

Petr Jiricka wrote:

> Hi,
>
> I remember there was an issue that the default DD in conf/web.xml was 
> not valid by the schema - is this change related to that issue?

Yes, this should fix the issue.

-- Jeanfrancois

>
> Thanks
> Petr
>
> jfarcand@apache.org wrote:
>
>> jfarcand    2004/08/24 10:01:34
>>
>>  Modified:    jsr154/src/share/dtd web-app_2_4.xsd
>>  Log:
>>  Update the web-app_2_4.xsd according
>>  to the JSR154 maintenance release.
>>  
>>    o The restriction facet of mime-typeType should be updated
>>      from:-
>>          <xsd:pattern value="[\p{L}\-\p{Nd}]+/[\p{L}\-\p{Nd}\.]+"/>
>>      to:-
>>          <xsd:pattern value="[^\p{Cc}^\s]+/[^\p{Cc}^\s]+
>>  
>>  submitted by: Yutaka Yoshida at sun dot com
>>  
>>  Revision  Changes    Path
>>  1.14      +2 -2      
>> jakarta-servletapi-5/jsr154/src/share/dtd/web-app_2_4.xsd
>>  
>>  Index: web-app_2_4.xsd
>>  ===================================================================
>>  RCS file: 
>> /home/cvs/jakarta-servletapi-5/jsr154/src/share/dtd/web-app_2_4.xsd,v
>>  retrieving revision 1.13
>>  retrieving revision 1.14
>>  diff -u -r1.13 -r1.14
>>  --- web-app_2_4.xsd    18 Mar 2004 16:40:34 -0000    1.13
>>  +++ web-app_2_4.xsd    24 Aug 2004 17:01:34 -0000    1.14
>>  @@ -30,7 +30,7 @@
>>     <xsd:annotation>
>>       <xsd:documentation>
>>    -      Copyright 2002 Sun Microsystems, Inc., 901 San Antonio
>>  +      Copyright 2004 Sun Microsystems, Inc., 901 San Antonio
>>         Road, Palo Alto, California 94303, U.S.A. All rights
>>         reserved.
>>    @@ -804,7 +804,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>
>>  
>>  
>>  
>>
>> ---------------------------------------------------------------------
>> To unsubscribe, e-mail: tomcat-dev-unsubscribe@jakarta.apache.org
>> For additional commands, e-mail: tomcat-dev-help@jakarta.apache.org
>>
>>  
>>
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: tomcat-dev-unsubscribe@jakarta.apache.org
> For additional commands, e-mail: tomcat-dev-help@jakarta.apache.org
>
>


---------------------------------------------------------------------
To unsubscribe, e-mail: tomcat-dev-unsubscribe@jakarta.apache.org
For additional commands, e-mail: tomcat-dev-help@jakarta.apache.org


Re: cvs commit: jakarta-servletapi-5/jsr154/src/share/dtd web-app_2_4.xsd

Posted by Petr Jiricka <Pe...@Sun.COM>.
Hi,

I remember there was an issue that the default DD in conf/web.xml was 
not valid by the schema - is this change related to that issue?

Thanks
Petr

jfarcand@apache.org wrote:

>jfarcand    2004/08/24 10:01:34
>
>  Modified:    jsr154/src/share/dtd web-app_2_4.xsd
>  Log:
>  Update the web-app_2_4.xsd according
>  to the JSR154 maintenance release.
>  
>    o The restriction facet of mime-typeType should be updated
>      from:-
>          <xsd:pattern value="[\p{L}\-\p{Nd}]+/[\p{L}\-\p{Nd}\.]+"/>
>      to:-
>          <xsd:pattern value="[^\p{Cc}^\s]+/[^\p{Cc}^\s]+
>  
>  submitted by: Yutaka Yoshida at sun dot com
>  
>  Revision  Changes    Path
>  1.14      +2 -2      jakarta-servletapi-5/jsr154/src/share/dtd/web-app_2_4.xsd
>  
>  Index: web-app_2_4.xsd
>  ===================================================================
>  RCS file: /home/cvs/jakarta-servletapi-5/jsr154/src/share/dtd/web-app_2_4.xsd,v
>  retrieving revision 1.13
>  retrieving revision 1.14
>  diff -u -r1.13 -r1.14
>  --- web-app_2_4.xsd	18 Mar 2004 16:40:34 -0000	1.13
>  +++ web-app_2_4.xsd	24 Aug 2004 17:01:34 -0000	1.14
>  @@ -30,7 +30,7 @@
>     <xsd:annotation>
>       <xsd:documentation>
>   
>  -      Copyright 2002 Sun Microsystems, Inc., 901 San Antonio
>  +      Copyright 2004 Sun Microsystems, Inc., 901 San Antonio
>         Road, Palo Alto, California 94303, U.S.A. All rights
>         reserved.
>   
>  @@ -804,7 +804,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>
>  
>  
>  
>
>---------------------------------------------------------------------
>To unsubscribe, e-mail: tomcat-dev-unsubscribe@jakarta.apache.org
>For additional commands, e-mail: tomcat-dev-help@jakarta.apache.org
>
>  
>


---------------------------------------------------------------------
To unsubscribe, e-mail: tomcat-dev-unsubscribe@jakarta.apache.org
For additional commands, e-mail: tomcat-dev-help@jakarta.apache.org