You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@ofbiz.apache.org by jl...@apache.org on 2009/11/25 00:29:47 UTC

svn commit: r883925 [1/4] - in /ofbiz/site/dtds: SeleniumXml.xsd blocks2dbk.dtd docbook.dtd docbook.xsd docbookx.dtd entity-config.xsd entitymodel.xsd l10n.dtd ofbiz-component.xsd targetdatabase.dtd widget-form.xsd widget-tree.xsd xlink.xsd xml.xsd

Author: jleroux
Date: Tue Nov 24 23:29:47 2009
New Revision: 883925

URL: http://svn.apache.org/viewvc?rev=883925&view=rev
Log:
Update all dtds (add some new mostly related to Docbook and Selenium) after ant copy-dtds use.
Not sure Docbook's are needed but I add anyway, can't hurt

Added:
    ofbiz/site/dtds/SeleniumXml.xsd   (with props)
    ofbiz/site/dtds/blocks2dbk.dtd
    ofbiz/site/dtds/docbook.dtd
    ofbiz/site/dtds/docbook.xsd   (with props)
    ofbiz/site/dtds/docbookx.dtd
    ofbiz/site/dtds/l10n.dtd
    ofbiz/site/dtds/targetdatabase.dtd
    ofbiz/site/dtds/xlink.xsd   (with props)
    ofbiz/site/dtds/xml.xsd   (with props)
Modified:
    ofbiz/site/dtds/entity-config.xsd
    ofbiz/site/dtds/entitymodel.xsd
    ofbiz/site/dtds/ofbiz-component.xsd
    ofbiz/site/dtds/widget-form.xsd
    ofbiz/site/dtds/widget-tree.xsd

Added: ofbiz/site/dtds/SeleniumXml.xsd
URL: http://svn.apache.org/viewvc/ofbiz/site/dtds/SeleniumXml.xsd?rev=883925&view=auto
==============================================================================
--- ofbiz/site/dtds/SeleniumXml.xsd (added)
+++ ofbiz/site/dtds/SeleniumXml.xsd Tue Nov 24 23:29:47 2009
@@ -0,0 +1,507 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!--
+	Licensed to the Apache Software Foundation (ASF) under one
+	or more contributor license agreements.  See the NOTICE file
+	distributed with this work for additional information
+	regarding copyright ownership.  The ASF licenses this file
+	to you under the Apache License, Version 2.0 (the
+	"License"); you may not use this file except in compliance
+	with the License.  You may obtain a copy of the License at
+	
+	http://www.apache.org/licenses/LICENSE-2.0
+	
+	Unless required by applicable law or agreed to in writing,
+	software distributed under the License is distributed on an
+	"AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+	KIND, either express or implied.  See the License for the
+	specific language governing permissions and limitations
+	under the License.
+-->
+<xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema"
+	elementFormDefault="qualified">
+	<!--
+		==================================================
+		========== Element and Attribute definitions for 
+		========== SeleniumXml project ===================
+		==================================================
+	-->
+	<xs:group name="AllCommands"><!-- All SeleniumXml command which normally match with the SeleniumRC Java API. -->
+		<xs:choice>
+			<xs:element ref="testcase"  />
+			<xs:element ref="type" />
+			<xs:element ref="loadData" />
+			<xs:element ref="selectPopup" />
+			<xs:element ref="getAllWindowIds" />
+			<xs:element ref="captureTextInPage" />
+			<xs:element ref="getSelectedLabel" />
+			<xs:element ref="getSelectedValue" />
+			<xs:element ref="getSelectedId" />
+			<xs:element ref="assertContains" />
+			<xs:element ref="getHtmlSource" />
+			<xs:element ref="getBodyText" />
+			<xs:element ref="print" />
+			<xs:element ref="waitForPageToLoad" />
+			<xs:element ref="getSelectedIds" />
+			<xs:element ref="copy" />
+			<xs:element ref="append" />
+			<xs:element ref="open" />
+			<xs:element ref="click" />
+			<xs:element ref="select" />
+			<xs:element ref="uniqueId" />
+			<xs:element ref="randomAlphaString" />
+			<xs:element ref="randomString" />
+			<xs:element ref="setSpeed" />
+		</xs:choice>
+	</xs:group>
+
+
+	<xs:element name="testcase">
+		<xs:annotation>
+			<xs:documentation></xs:documentation>
+		</xs:annotation>
+
+		<xs:complexType>
+			<xs:sequence>
+				<xs:group minOccurs="0" maxOccurs="unbounded" ref="AllCommands"/>
+			</xs:sequence>
+				
+			<xs:attributeGroup ref="attlist.name-value" />
+			<xs:attribute name="LABEL" type="xs:string" use="required" />
+		</xs:complexType>
+	</xs:element>
+	
+	<xs:element name="type" >
+		<xs:annotation>
+            <xs:documentation>
+            </xs:documentation>
+        </xs:annotation>
+        <xs:complexType>
+            <xs:attributeGroup ref="attlist.name-value"/>
+		</xs:complexType>
+	</xs:element>
+    <xs:element name="loadData">
+        <xs:annotation>
+            <xs:documentation>
+            </xs:documentation>
+        </xs:annotation>
+        <xs:complexType>
+            <xs:attributeGroup ref="attlist.file"/>
+            <xs:attributeGroup ref="attlist.loadData"/>
+        </xs:complexType>
+    </xs:element>	
+    
+     <xs:element name="selectPopup">
+        <xs:annotation>
+            <xs:documentation>
+            </xs:documentation>
+        </xs:annotation>
+        <xs:complexType>
+            <xs:attributeGroup ref="attlist.selectPopup"/>
+        </xs:complexType>
+    </xs:element>
+    
+    <xs:element name="getAllWindowIds">
+        <xs:annotation>
+            <xs:documentation>
+            </xs:documentation>
+        </xs:annotation>
+        <xs:complexType>
+            <xs:attributeGroup ref="attlist.getAllWindowIds"/>
+        </xs:complexType>
+    </xs:element>
+    
+    <xs:element name="captureTextInPage">
+        <xs:annotation>
+            <xs:documentation>
+            </xs:documentation>
+        </xs:annotation>
+        <xs:complexType>
+            <xs:attributeGroup ref="attlist.captureTextInPage"/>
+        </xs:complexType>
+    </xs:element>	
+    
+     <xs:element name="getSelectedLabel">
+        <xs:annotation>
+            <xs:documentation>
+            </xs:documentation>
+        </xs:annotation>
+        <xs:complexType>
+            <xs:attributeGroup ref="attlist.getSelectedLabel"/>
+        </xs:complexType>
+    </xs:element>
+    
+     <xs:element name="getSelectedValue">
+        <xs:annotation>
+            <xs:documentation>
+            </xs:documentation>
+        </xs:annotation>
+        <xs:complexType>
+            <xs:group minOccurs="0" maxOccurs="unbounded" ref="AllCommands"/>
+            <xs:attributeGroup ref="attlist.getSelectedLabel"/>
+        </xs:complexType>
+    </xs:element>
+    
+    <xs:element name="getSelectedId">
+        <xs:annotation>
+            <xs:documentation>
+            </xs:documentation>
+        </xs:annotation>
+        <xs:complexType>
+            <xs:attributeGroup ref="attlist.getSelectedLabel"/>
+        </xs:complexType>
+    </xs:element>
+    
+    <xs:element name="assertContains">
+        <xs:annotation>
+            <xs:documentation>
+            </xs:documentation>
+        </xs:annotation>
+        <xs:complexType>
+            <xs:attributeGroup ref="attlist.assertContains"/>
+        </xs:complexType>
+    </xs:element>
+    
+    <xs:element name="getHtmlSource">
+        <xs:annotation>
+            <xs:documentation>
+            </xs:documentation>
+        </xs:annotation>
+        <xs:complexType>
+            <xs:attributeGroup ref="attlist.out"/>
+        </xs:complexType>
+    </xs:element>
+    
+    <xs:element name="getBodyText">
+        <xs:annotation>
+            <xs:documentation>
+            </xs:documentation>
+        </xs:annotation>
+        <xs:complexType>
+            <xs:attributeGroup ref="attlist.out"/>
+        </xs:complexType>
+    </xs:element> 
+    
+     <xs:element name="print">
+        <xs:annotation>
+            <xs:documentation>
+            </xs:documentation>
+        </xs:annotation>
+        <xs:complexType>
+            <xs:attributeGroup ref="attlist.print"/>
+        </xs:complexType>
+    </xs:element>
+    
+    <xs:element name="waitForPageToLoad">
+        <xs:annotation>
+            <xs:documentation>
+            </xs:documentation>
+        </xs:annotation>
+        <xs:complexType>
+            <xs:attributeGroup ref="attlist.print"/>
+        </xs:complexType>
+    </xs:element>    
+    
+    <xs:element name="getSelectedIds">
+        <xs:annotation>
+            <xs:documentation>
+            </xs:documentation>
+        </xs:annotation>
+        <xs:complexType>
+            <xs:attributeGroup ref="attlist.print"/>
+        </xs:complexType>
+    </xs:element>    
+    
+    <xs:element name="copy">
+        <xs:annotation>
+            <xs:documentation>
+            </xs:documentation>
+        </xs:annotation>
+        <xs:complexType>
+            <xs:attributeGroup ref="attlist.copy"/>
+        </xs:complexType>
+    </xs:element>    
+    
+     <xs:element name="append">
+        <xs:annotation>
+            <xs:documentation>
+            </xs:documentation>
+        </xs:annotation>
+        <xs:complexType>
+            <xs:attributeGroup ref="attlist.append"/>
+            <xs:attributeGroup ref="attlist.out"/>
+                    </xs:complexType>
+    </xs:element>
+    
+    <xs:element name="open">
+        <xs:annotation>
+            <xs:documentation>
+            </xs:documentation>
+        </xs:annotation>
+        <xs:complexType>
+            <xs:attributeGroup ref="attlist.print"/>
+        </xs:complexType>
+    </xs:element>
+    
+    <xs:element name="click">
+        <xs:annotation>
+            <xs:documentation>
+            </xs:documentation>
+        </xs:annotation>
+        <xs:complexType>
+            <xs:attributeGroup ref="attlist.locator"/>
+        </xs:complexType>
+    </xs:element>
+    
+    <xs:element name="select">
+        <xs:annotation>
+            <xs:documentation>
+            </xs:documentation>
+        </xs:annotation>
+        <xs:complexType>
+            <xs:attributeGroup ref="attlist.option"/>
+            <xs:attributeGroup ref="attlist.locator"/>
+        </xs:complexType>
+    </xs:element>
+    
+    
+    <xs:element name="uniqueId">
+        <xs:annotation>
+            <xs:documentation>
+            </xs:documentation>
+        </xs:annotation>
+        <xs:complexType>
+            <xs:attributeGroup ref="attlist.out"/>
+        </xs:complexType>
+    </xs:element>
+    
+     <xs:element name="randomAlphaString">
+        <xs:annotation>
+            <xs:documentation>
+            </xs:documentation>
+        </xs:annotation>
+        <xs:complexType>
+            <xs:attributeGroup ref="attlist.out"/>
+            <xs:attributeGroup ref="attlist.size-prefix"/>
+        </xs:complexType>
+    </xs:element>
+    
+    <xs:element name="randomString">
+        <xs:annotation>
+            <xs:documentation>
+            </xs:documentation>
+        </xs:annotation>
+        <xs:complexType>
+            <xs:attributeGroup ref="attlist.out"/>
+            <xs:attributeGroup ref="attlist.size-prefix"/>
+        </xs:complexType>
+    </xs:element>
+    
+    <xs:element name="setSpeed">
+        <xs:annotation>
+            <xs:documentation>
+            </xs:documentation>
+        </xs:annotation>
+        <xs:complexType>
+            <xs:attributeGroup ref="attlist.print"/>
+        </xs:complexType>
+    </xs:element>
+    
+	<!-- +++++++++++++++++++++++++++++++++++++++++++ -->
+	<!-- Attribute Lists for all Element definitions -->
+	<!-- +++++++++++++++++++++++++++++++++++++++++++ -->
+	<xs:attributeGroup name="attlist.file">
+        <xs:attribute type="xs:string" name="file" use="optional">
+            <xs:annotation>
+                <xs:documentation>
+                </xs:documentation>
+            </xs:annotation>            
+        </xs:attribute>
+    </xs:attributeGroup>
+    
+	<xs:attributeGroup name="attlist.name-value">
+        <xs:attribute type="xs:string" name="name" use="required">
+            <xs:annotation>
+                <xs:documentation>
+                </xs:documentation>
+            </xs:annotation>            
+        </xs:attribute>
+        <xs:attribute type="xs:string" name="value" use="required">
+            <xs:annotation>
+                <xs:documentation>
+                </xs:documentation>
+            </xs:annotation>
+        </xs:attribute>
+    </xs:attributeGroup>
+    
+    <xs:attributeGroup name="attlist.loadData">
+        <xs:attribute type="xs:string" name="iterations" use="optional">
+            <xs:annotation>
+                <xs:documentation>
+                </xs:documentation>
+            </xs:annotation>            
+        </xs:attribute>
+    </xs:attributeGroup>
+    
+     <xs:attributeGroup name="attlist.selectPopup">
+        <xs:attribute type="xs:string" name="locator" use="optional">
+            <xs:annotation>
+                <xs:documentation>
+                </xs:documentation>
+            </xs:annotation>            
+        </xs:attribute>
+        <xs:attribute type="xs:string" name="timeout" use="optional">
+            <xs:annotation>
+                <xs:documentation>
+                </xs:documentation>
+            </xs:annotation>            
+        </xs:attribute>
+    </xs:attributeGroup>
+    
+     <xs:attributeGroup name="attlist.getAllWindowIds">
+        <xs:attribute type="xs:string" name="winIds" use="optional">
+            <xs:annotation>
+                <xs:documentation>
+                </xs:documentation>
+            </xs:annotation>            
+        </xs:attribute>
+        <xs:attribute type="xs:string" name="winNames" use="optional">
+            <xs:annotation>
+                <xs:documentation>
+                </xs:documentation>
+            </xs:annotation>            
+        </xs:attribute>
+    </xs:attributeGroup>
+    
+    <xs:attributeGroup name="attlist.captureTextInPage">
+        <xs:attribute type="xs:string" name="regex" use="optional">
+            <xs:annotation>
+                <xs:documentation>
+                </xs:documentation>
+            </xs:annotation>            
+        </xs:attribute>
+        <xs:attribute type="xs:string" name="group" use="optional">
+            <xs:annotation>
+                <xs:documentation>
+                </xs:documentation>
+            </xs:annotation>            
+        </xs:attribute>
+        <xs:attribute type="xs:string" name="results" use="optional">
+            <xs:annotation>
+                <xs:documentation>
+                </xs:documentation>
+            </xs:annotation>            
+        </xs:attribute>
+    </xs:attributeGroup>
+    
+     <xs:attributeGroup name="attlist.getSelectedLabel">
+        <xs:attribute type="xs:string" name="locator" use="optional">
+            <xs:annotation>
+                <xs:documentation>
+                </xs:documentation>
+            </xs:annotation>            
+        </xs:attribute>
+        <xs:attribute type="xs:string" name="out" use="optional">
+            <xs:annotation>
+                <xs:documentation>
+                </xs:documentation>
+            </xs:annotation>            
+        </xs:attribute>
+    </xs:attributeGroup>
+    
+    <xs:attributeGroup name="attlist.assertContains">
+        <xs:attribute type="xs:string" name="src" use="optional">
+            <xs:annotation>
+                <xs:documentation>
+                </xs:documentation>
+            </xs:annotation>            
+        </xs:attribute>
+        <xs:attribute type="xs:string" name="test" use="optional">
+            <xs:annotation>
+                <xs:documentation>
+                </xs:documentation>
+            </xs:annotation>            
+        </xs:attribute>
+    </xs:attributeGroup>   
+    
+    <xs:attributeGroup name="attlist.out">
+        <xs:attribute type="xs:string" name="out" use="optional">
+            <xs:annotation>
+                <xs:documentation>
+                </xs:documentation>
+            </xs:annotation>            
+        </xs:attribute>
+    </xs:attributeGroup>
+        
+     <xs:attributeGroup name="attlist.print">
+        <xs:attribute type="xs:string" name="value" use="optional">
+            <xs:annotation>
+                <xs:documentation>
+                </xs:documentation>
+            </xs:annotation>            
+        </xs:attribute>
+    </xs:attributeGroup>
+    
+    <xs:attributeGroup name="attlist.copy">
+        <xs:attribute type="xs:string" name="to" use="optional">
+            <xs:annotation>
+                <xs:documentation>
+                </xs:documentation>
+            </xs:annotation>            
+        </xs:attribute>
+        <xs:attribute type="xs:string" name="from" use="optional">
+            <xs:annotation>
+                <xs:documentation>
+                </xs:documentation>
+            </xs:annotation>            
+        </xs:attribute>
+    </xs:attributeGroup>
+    
+    <xs:attributeGroup name="attlist.append">
+        <xs:attribute type="xs:string" name="src1" use="optional">
+            <xs:annotation>
+                <xs:documentation>
+                </xs:documentation>
+            </xs:annotation>            
+        </xs:attribute>
+        <xs:attribute type="xs:string" name="src2" use="optional">
+            <xs:annotation>
+                <xs:documentation>
+                </xs:documentation>
+            </xs:annotation>            
+        </xs:attribute>
+    </xs:attributeGroup>     
+    
+    <xs:attributeGroup name="attlist.option">
+        <xs:attribute type="xs:string" name="option" use="optional">
+            <xs:annotation>
+                <xs:documentation>
+                </xs:documentation>
+            </xs:annotation>            
+        </xs:attribute>
+    </xs:attributeGroup> 
+    
+    <xs:attributeGroup name="attlist.locator">
+        <xs:attribute type="xs:string" name="locator" use="optional">
+            <xs:annotation>
+                <xs:documentation>
+                </xs:documentation>
+            </xs:annotation>            
+        </xs:attribute>
+    </xs:attributeGroup> 
+    
+    <xs:attributeGroup name="attlist.size-prefix">
+        <xs:attribute type="xs:string" name="size" use="optional">
+            <xs:annotation>
+                <xs:documentation>
+                </xs:documentation>
+            </xs:annotation>            
+        </xs:attribute>
+        <xs:attribute type="xs:string" name="prefix" use="optional">
+            <xs:annotation>
+                <xs:documentation>
+                </xs:documentation>
+            </xs:annotation>            
+        </xs:attribute>
+    </xs:attributeGroup> 
+    
+</xs:schema>

Propchange: ofbiz/site/dtds/SeleniumXml.xsd
------------------------------------------------------------------------------
    svn:eol-style = native

Propchange: ofbiz/site/dtds/SeleniumXml.xsd
------------------------------------------------------------------------------
    svn:keywords = "Date Rev Author URL Id"

Propchange: ofbiz/site/dtds/SeleniumXml.xsd
------------------------------------------------------------------------------
    svn:mime-type = text/xsd

Added: ofbiz/site/dtds/blocks2dbk.dtd
URL: http://svn.apache.org/viewvc/ofbiz/site/dtds/blocks2dbk.dtd?rev=883925&view=auto
==============================================================================
--- ofbiz/site/dtds/blocks2dbk.dtd (added)
+++ ofbiz/site/dtds/blocks2dbk.dtd Tue Nov 24 23:29:47 2009
@@ -0,0 +1,76 @@
+  <!ENTITY components-extra ""> <!-- for customisation -->
+  <!ENTITY components "dbk:appendix |
+    dbk:article |
+    dbk:book |
+    dbk:chapter |
+    dbk:part |
+    dbk:preface |
+    dbk:section |
+    dbk:sect1 |
+    dbk:sect2 |
+    dbk:sect3 |
+    dbk:sect4 |
+    dbk:sect5
+    &components-extra;">
+
+  <!ENTITY blocks-extra ""> <!-- for customisation -->
+  <!ENTITY blocks "dbk:bibliography |
+    dbk:bibliodiv |
+    dbk:glossary |
+    dbk:glossdiv |
+    dbk:qandaset |
+    dbk:qandadiv
+    &blocks-extra;">
+
+  <!ENTITY metadata-extra ""> <!-- for customisation -->
+  <!ENTITY metadata-content 'contains(@rnd:style, "-title") or
+			     contains(@rnd:style, "-subtitle") or
+			     @rnd:style = "abstract" or
+			     @rnd:style = "address" or
+			     @rnd:style = "affiliation" or
+			     @rnd:style = "author" or
+			     @rnd:style = "biblioid" or
+			     @rnd:style = "bibliomisc" or
+			     @rnd:style = "bibliosource" or
+			     @rnd:style = "contrib" or
+			     @rnd:style = "date" or
+			     @rnd:style = "edition" or
+			     @rnd:style = "editor" or
+			     @rnd:style = "email" or
+			     @rnd:style = "issuenum" or
+			     @rnd:style = "keyword" or
+			     @rnd:style = "legalnotice" or
+			     @rnd:style = "othercredit" or
+			     @rnd:style = "pagenums" or
+			     @rnd:style = "personblurb" or
+			     @rnd:style = "pubdate" or
+			     @rnd:style = "publisher" or
+			     @rnd:style = "publisher-address" or
+			     @rnd:style = "releaseinfo" or
+			     @rnd:style = "revhistory" or
+			     @rnd:style = "revision" or
+			     @rnd:style = "volumenum"
+			     &metadata-extra;'>
+
+  <!ENTITY author-extra ""> <!-- for customisation -->
+  <!ENTITY author-content '@rnd:style = "personblurb" or
+			   @rnd:style = "address" or
+			   @rnd:style = "affiliation" or
+			   @rnd:style = "contrib" or
+			   @rnd:style = "email"
+			   &author-extra;'>
+
+  <!ENTITY admonition-extra ""> <!-- for customisation -->
+  <!ENTITY admonition '@rnd:style = "caution" or
+    @rnd:style = "important" or
+    @rnd:style = "note" or
+    @rnd:style = "tip" or
+    @rnd:style = "warning"
+    &admonition-extra;'>
+  <!ENTITY admonition-title-extra ""> <!-- for customisation -->
+  <!ENTITY admonition-title '@rnd:style = "caution-title" or
+    @rnd:style = "important-title" or
+    @rnd:style = "note-title" or
+    @rnd:style = "tip-title" or
+    @rnd:style = "warning-title"
+    &admonition-title-extra;'>



Re: svn commit: r883925 [1/4] - in /ofbiz/site/dtds: SeleniumXml.xsd blocks2dbk.dtd docbook.dtd docbook.xsd docbookx.dtd entity-config.xsd entitymodel.xsd l10n.dtd ofbiz-component.xsd targetdatabase.dtd widget-form.xsd widget-tree.xsd xlink.xsd xml.xsd

Posted by Jacques Le Roux <ja...@les7arts.com>.
Looks like we will need catalogs also for Selenium and Docbook... Will see later...

Jacques

> Author: jleroux
> Date: Tue Nov 24 23:29:47 2009
> New Revision: 883925
> 
> URL: http://svn.apache.org/viewvc?rev=883925&view=rev
> Log:
> Update all dtds (add some new mostly related to Docbook and Selenium) after ant copy-dtds use.
> Not sure Docbook's are needed but I add anyway, can't hurt
> 
> Added:
>    ofbiz/site/dtds/SeleniumXml.xsd   (with props)
>    ofbiz/site/dtds/blocks2dbk.dtd
>    ofbiz/site/dtds/docbook.dtd
>    ofbiz/site/dtds/docbook.xsd   (with props)
>    ofbiz/site/dtds/docbookx.dtd
>    ofbiz/site/dtds/l10n.dtd
>    ofbiz/site/dtds/targetdatabase.dtd
>    ofbiz/site/dtds/xlink.xsd   (with props)
>    ofbiz/site/dtds/xml.xsd   (with props)
> Modified:
>    ofbiz/site/dtds/entity-config.xsd
>    ofbiz/site/dtds/entitymodel.xsd
>    ofbiz/site/dtds/ofbiz-component.xsd
>    ofbiz/site/dtds/widget-form.xsd
>    ofbiz/site/dtds/widget-tree.xsd
> 
> Added: ofbiz/site/dtds/SeleniumXml.xsd
> URL: http://svn.apache.org/viewvc/ofbiz/site/dtds/SeleniumXml.xsd?rev=883925&view=auto