cocoon-cvs mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From cross...@apache.org
Subject cvs commit: xml-cocoon2/documentation/xdocs/dtd svg-cocoon-v11.dtd
Date Wed, 26 Dec 2001 06:24:38 GMT
crossley    01/12/25 22:24:38

  Added:       webapp/resources/entities svg-cocoon-v11.dtd
               documentation/xdocs/dtd svg-cocoon-v11.dtd
  Log:
  Minimal DTD for svg/*.xml templates - enables validation during build docs.
  
  Revision  Changes    Path
  1.1                  xml-cocoon2/webapp/resources/entities/svg-cocoon-v11.dtd
  
  Index: svg-cocoon-v11.dtd
  ===================================================================
  <!--
  
  PURPOSE:
  This is a minimal SVG DTD intended solely for Apache Cocoon internal use.
  
  TYPICAL INVOCATION:
  
    <!DOCTYPE svg PUBLIC
         "-//APACHE//DTD Cocoon SVG minimal Vx.yz//EN"
         "http://xml.apache.org/DTD/svg-cocoon-vxyz.dtd">
  
    where 
    
      x := major version
      y := minor version
      z := status identifier (optional)
  
  NOTES:
  The Official SVG DTD is using some entities that cannot yet be resolved
  so this is a hack DTD to get us started. We are only using this DTD to
  enable validation during "build docs" because every XML instance must
  declare its ruleset.
  
  This initial minimal DTD has been reverse-engineered from the structure
  of the current documents at documentation/svg/*.xml
  
  See:
  http://www.w3.org/TR/2001/REC-SVG-20010904/
  http://www.w3.org/TR/2001/REC-SVG-20010904/DTD/svg10.dtd
  
  CHANGE HISTORY:
    20011031 1.0 Initial version (DC)
    20011102 1.1 Added more elements for new svg/*.xml from Klaus (DC)
  -->
  
  <!ELEMENT svg (defs|image|g|rect|text)*>
  <!ELEMENT defs (filter)*>
  <!ELEMENT filter (feGaussianBlur)*>
  <!ELEMENT feGaussianBlur EMPTY>
  <!ELEMENT g (path)*>
  <!ELEMENT path EMPTY>
  <!ELEMENT image EMPTY>
  <!ELEMENT rect EMPTY>
  <!ELEMENT text (label?)>
  <!ELEMENT label EMPTY>
  
  <!ATTLIST svg height CDATA #REQUIRED
                width CDATA #REQUIRED
                xmlns:xlink CDATA #IMPLIED
  >
   <!--  yikes ... this breaks build docs                            -->
   <!--            just like hacking the official DTD to add <label> -->
   <!--            see email 2001-11-08                              -->
   <!--              xmlns CDATA #FIXED "http://www.w3.org/2000/svg" -->
  
  <!ATTLIST filter id ID #IMPLIED
  >
  <!ATTLIST feGaussianBlur in CDATA #IMPLIED
                stdDeviation CDATA #IMPLIED
  >
  <!ATTLIST g transform CDATA #IMPLIED
  >
  <!ATTLIST path style CDATA #REQUIRED
                d CDATA #REQUIRED
  >
  <!ATTLIST image width CDATA #REQUIRED
                height CDATA #REQUIRED
                xlink:href CDATA #IMPLIED
  >
  <!ATTLIST rect width CDATA #REQUIRED
                height CDATA #REQUIRED
                x CDATA #IMPLIED
                y CDATA #IMPLIED
                fill CDATA #IMPLIED
                style CDATA #IMPLIED
  >
  <!ATTLIST text style CDATA #REQUIRED
                x CDATA #REQUIRED
                y CDATA #REQUIRED
                text-anchor CDATA #IMPLIED
                fill CDATA #IMPLIED
  >
  
  
  
  1.1                  xml-cocoon2/documentation/xdocs/dtd/svg-cocoon-v11.dtd
  
  Index: svg-cocoon-v11.dtd
  ===================================================================
  <!--
  
  PURPOSE:
  This is a minimal SVG DTD intended solely for Apache Cocoon internal use.
  
  TYPICAL INVOCATION:
  
    <!DOCTYPE svg PUBLIC
         "-//APACHE//DTD Cocoon SVG minimal Vx.yz//EN"
         "http://xml.apache.org/DTD/svg-cocoon-vxyz.dtd">
  
    where 
    
      x := major version
      y := minor version
      z := status identifier (optional)
  
  NOTES:
  The Official SVG DTD is using some entities that cannot yet be resolved
  so this is a hack DTD to get us started. We are only using this DTD to
  enable validation during "build docs" because every XML instance must
  declare its ruleset.
  
  This initial minimal DTD has been reverse-engineered from the structure
  of the current documents at documentation/svg/*.xml
  
  See:
  http://www.w3.org/TR/2001/REC-SVG-20010904/
  http://www.w3.org/TR/2001/REC-SVG-20010904/DTD/svg10.dtd
  
  CHANGE HISTORY:
    20011031 1.0 Initial version (DC)
    20011102 1.1 Added more elements for new svg/*.xml from Klaus (DC)
  -->
  
  <!ELEMENT svg (defs|image|g|rect|text)*>
  <!ELEMENT defs (filter)*>
  <!ELEMENT filter (feGaussianBlur)*>
  <!ELEMENT feGaussianBlur EMPTY>
  <!ELEMENT g (path)*>
  <!ELEMENT path EMPTY>
  <!ELEMENT image EMPTY>
  <!ELEMENT rect EMPTY>
  <!ELEMENT text (label?)>
  <!ELEMENT label EMPTY>
  
  <!ATTLIST svg height CDATA #REQUIRED
                width CDATA #REQUIRED
                xmlns:xlink CDATA #IMPLIED
  >
   <!--  yikes ... this breaks build docs                            -->
   <!--            just like hacking the official DTD to add <label> -->
   <!--            see email 2001-11-08                              -->
   <!--              xmlns CDATA #FIXED "http://www.w3.org/2000/svg" -->
  
  <!ATTLIST filter id ID #IMPLIED
  >
  <!ATTLIST feGaussianBlur in CDATA #IMPLIED
                stdDeviation CDATA #IMPLIED
  >
  <!ATTLIST g transform CDATA #IMPLIED
  >
  <!ATTLIST path style CDATA #REQUIRED
                d CDATA #REQUIRED
  >
  <!ATTLIST image width CDATA #REQUIRED
                height CDATA #REQUIRED
                xlink:href CDATA #IMPLIED
  >
  <!ATTLIST rect width CDATA #REQUIRED
                height CDATA #REQUIRED
                x CDATA #IMPLIED
                y CDATA #IMPLIED
                fill CDATA #IMPLIED
                style CDATA #IMPLIED
  >
  <!ATTLIST text style CDATA #REQUIRED
                x CDATA #REQUIRED
                y CDATA #REQUIRED
                text-anchor CDATA #IMPLIED
                fill CDATA #IMPLIED
  >
  
  
  

----------------------------------------------------------------------
In case of troubles, e-mail:     webmaster@xml.apache.org
To unsubscribe, e-mail:          cocoon-cvs-unsubscribe@xml.apache.org
For additional commands, e-mail: cocoon-cvs-help@xml.apache.org


Mime
View raw message