eduardop    01/04/25 11:16:56

  Modified:    src/share/dtd jspxml.dtd jspxml.xsd
  Log:
  Corrected to match actual PFD2.
  
  (Previous version had some changes that, although approved by the expert group,
  have not yet been incorporated into the CTS - compatibility test suite - for
  the spec.  Since there is no time to update the CTS for the PFD2 draft, we
  are backing the changes out for now)
  
    - eduard/o
  
  Revision  Changes    Path
  1.4       +3 -5      jakarta-servletapi-4/src/share/dtd/jspxml.dtd
  
  Index: jspxml.dtd
  ===================================================================
  RCS file: /home/cvs/jakarta-servletapi-4/src/share/dtd/jspxml.dtd,v
  retrieving revision 1.3
  retrieving revision 1.4
  diff -u -r1.3 -r1.4
  --- jspxml.dtd        2001/04/25 00:04:26     1.3
  +++ jspxml.dtd        2001/04/25 18:16:54     1.4
  @@ -63,7 +63,7 @@
       |jsp:plugin"
   >
   
  -<!ENTITY % Body "(jsp:text|%Directives;|%Scripts;|%Actions;)*">
  +<!ENTITY % Body "(jsp:cdata|%Directives;|%Scripts;|%Actions;)*">
   
   
   <!-- ============================ Elements ============================ -->
  @@ -72,8 +72,7 @@
   -->
   <!ELEMENT jsp:root %Body;>
   <!ATTLIST jsp:root
  -    xmlns:jsp       CDATA           "http://java.sun.com/JSP/Page";
  -    version         CDATA           #REQUIRED
  +    xmlns:jsp       CDATA           "http://java.sun.com/dtd/jsp_1_2";
   >
   
   <!ELEMENT jsp:directive.page EMPTY>
  @@ -168,5 +167,4 @@
       value           CDATA           #REQUIRED
   >
   
  -<!ELEMENT jsp:text #PCDATA>
  -
  +<!ELEMENT jsp:cdata #PCDATA>
  
  
  
  1.4       +4 -5      jakarta-servletapi-4/src/share/dtd/jspxml.xsd
  
  Index: jspxml.xsd
  ===================================================================
  RCS file: /home/cvs/jakarta-servletapi-4/src/share/dtd/jspxml.xsd,v
  retrieving revision 1.3
  retrieving revision 1.4
  diff -u -r1.3 -r1.4
  --- jspxml.xsd        2001/04/25 00:04:26     1.3
  +++ jspxml.xsd        2001/04/25 18:16:55     1.4
  @@ -17,7 +17,7 @@
   <!--Conforms to w3c http://www.w3.org/1999/XMLSchema draft of 7 April 2000-->
   
   <schema xmlns = "http://www.w3.org/1999/XMLSchema";
  -        xmlns:jsp = "http://java.sun.com/JSP/Page";
  +        xmlns:jsp = "http://java.sun.com/jsp_1_2";
           targetNamespace = "http://java.sun.com/xschema/jsp_1_2.xsd";
           elementFormDefault = "qualified"
           attributeFormDefault = "unqualified">
  @@ -71,7 +71,7 @@
               <element ref = "include"/>
               <element ref = "forward"/>
               <element ref = "plugin"/>
  -            <element ref = "text"/>
  +            <element ref = "cdata"/>
           </choice>
       </group>
   
  @@ -174,7 +174,6 @@
                   on any parameter entities.)
               </documentation>
           </annotation>
  -     <attribute name = "root" use = "required" type = "string"/>
       </element>
       
       <element name = "directive.page">
  @@ -222,9 +221,9 @@
       <element name = "declaration" type = "string"/>
       
       <element name = "expression" type = "string"/>
  -    
  -    <element name = "text" type = "string"/>
   
  +    <element name = "cdata" type = "string"/>
  +    
       <element name = "useBean">
           <annotation>
               <documentation>
  
  
  

Reply via email to