portals-jetspeed-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From raph...@apache.org
Subject cvs commit: jakarta-jetspeed/src/xml xml_registry.dtd
Date Sun, 02 Mar 2003 14:53:25 GMT
raphael     2003/03/02 06:53:25

  Added:       src/xml  xml_registry.dtd
  DTD for Registry markup validation
  contributed by Pierre Henry <phenry@proconcept.ch>
  Revision  Changes    Path
  1.1                  jakarta-jetspeed/src/xml/xml_registry.dtd
  Index: xml_registry.dtd
  <?xml version="1.0" encoding="UTF-8"?>
       This DTD can be used to validate XML Registry fragments with an XML
       editor like XMLSpy.
       Some IDREF constraints have been removed to allow editors to validate
       files without access to all Registry fragments registered in the 
       Jetspeed portal
       contributed by Pierre Henry <phenry@proconcept.ch>
       and            Antoine Gabus <agabus@proconcept.ch>
       edited with XMLSPY v5 rel. 2 U (http://www.xmlspy.com) 
       by Gabus Antoine (Pro Concept S.A.)
  <!ELEMENT registry (portlet-entry*, portlet-control-entry*, portlet-controller-entry*,
skin-entry*, media-type-entry*, client-entry*, security-entry*)>
  <!ATTLIST registry
          version CDATA "1.0"
  <!ELEMENT portlet-entry (security?, security-ref?, meta-info?, classname?, parameter*,
media-type*, url?, category*)>
  <!ATTLIST portlet-entry
          name ID #REQUIRED
          hidden (true | false) "false"
          type (abstract | instance | ref) "instance"
          application (true | false) "false"
          parent IDREF #IMPLIED
  <!ELEMENT parameter (security?, security-ref?, meta-info?)>
  <!ATTLIST parameter
          name CDATA #REQUIRED
          value CDATA #REQUIRED
          type (int | boolean | string | list | style) "string"
          cachedOnName (true | false) "false"
          cachedOnValue (true | false) "false"
          hidden (true | false) "false"
  <!ELEMENT classname (#PCDATA)>
  <!ELEMENT meta-info (title?, description?, image?)>
  <!ELEMENT title (#PCDATA)>
  <!ELEMENT description (#PCDATA)>
  <!ELEMENT image (#PCDATA)>
  <!ELEMENT media-type EMPTY>
  <!ATTLIST media-type
          ref IDREF #REQUIRED
  <!ELEMENT url (#PCDATA)>
  <!ATTLIST url
          cachedOnUrl (true | false) "false"
  <!ELEMENT category (#PCDATA)>
  <!ATTLIST category
          group CDATA #IMPLIED
  <!ELEMENT portlet-control-entry (security?, security-ref?, meta-info?, classname?, parameter*,
  <!ATTLIST portlet-control-entry
          name ID #REQUIRED
          hidden (true | false) "false"
  <!ELEMENT portlet-controller-entry (parameter*, media-type+)>
  <!ATTLIST portlet-controller-entry
          name ID #REQUIRED
          hidden (true | false) "false"
  <!ELEMENT skin-entry (property+)>
  <!ATTLIST skin-entry
          name ID #REQUIRED
          hidden (true | false) "false"
  <!ELEMENT property EMPTY>
  <!ATTLIST property
          name CDATA #REQUIRED
          value CDATA #REQUIRED
          type (int | boolean | string | list) "string"
  <!ELEMENT media-type-entry (mime-type, character-set?, capability-map?)>
  <!ATTLIST media-type-entry
          name ID #REQUIRED
          hidden (true | false) "false"
  <!ELEMENT mime-type (#PCDATA)>
  <!ELEMENT character-set (#PCDATA)>
  <!ELEMENT capability-map (capability*)>
  <!ELEMENT capability (#PCDATA)>
  <!ELEMENT client-entry (user-agent-pattern, manufacturer, model, version, mimetype-map,
  <!ATTLIST client-entry
          name ID #REQUIRED
          hidden (true | false) "false"
  <!ELEMENT user-agent-pattern (#PCDATA)>
  <!ELEMENT manufacturer (#PCDATA)>
  <!ELEMENT model (#PCDATA)>
  <!ELEMENT version (#PCDATA)>
  <!ELEMENT mimetype-map (mimetype+)>
  <!ELEMENT mimetype (#PCDATA)>
  <!ELEMENT security-entry (meta-info?, access+)>
  <!ATTLIST security-entry
          name ID #REQUIRED
  <!ELEMENT access (allow-if*, allow-if-owner?)>
  <!ATTLIST access
          action CDATA #REQUIRED
  <!ELEMENT allow-if EMPTY>
  <!ATTLIST allow-if
          role CDATA #REQUIRED
  <!ELEMENT allow-if-owner EMPTY>

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

View raw message