You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@ofbiz.apache.org by ad...@apache.org on 2007/12/11 17:57:13 UTC
svn commit: r603297 - in /ofbiz/site/dtds: ofbiz-properties.xsd
service-eca.xsd
Author: adrianc
Date: Tue Dec 11 08:57:12 2007
New Revision: 603297
URL: http://svn.apache.org/viewvc?rev=603297&view=rev
Log:
Added new DTD for custom XML properties files, updated service-eca.xsd.
Added:
ofbiz/site/dtds/ofbiz-properties.xsd
Modified:
ofbiz/site/dtds/service-eca.xsd
Added: ofbiz/site/dtds/ofbiz-properties.xsd
URL: http://svn.apache.org/viewvc/ofbiz/site/dtds/ofbiz-properties.xsd?rev=603297&view=auto
==============================================================================
--- ofbiz/site/dtds/ofbiz-properties.xsd (added)
+++ ofbiz/site/dtds/ofbiz-properties.xsd Tue Dec 11 08:57:12 2007
@@ -0,0 +1,39 @@
+<?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">
+ <xs:element name="resource">
+ <xs:complexType>
+ <xs:sequence>
+ <xs:element minOccurs="0" maxOccurs="unbounded" ref="property"/>
+ </xs:sequence>
+ </xs:complexType>
+ </xs:element>
+ <xs:element name="property">
+ <xs:complexType>
+ <xs:sequence>
+ <xs:element minOccurs="0" maxOccurs="unbounded" ref="value"/>
+ <xs:attributeGroup ref="attlist.property"/>
+ </xs:sequence>
+ </xs:complexType>
+ </xs:element>
+ <xs:attributeGroup name="attlist.property">
+ <xs:attribute type="xs:string" name="key" use="required"/>
+ </xs:attributeGroup>
+</xs:schema>
Modified: ofbiz/site/dtds/service-eca.xsd
URL: http://svn.apache.org/viewvc/ofbiz/site/dtds/service-eca.xsd?rev=603297&r1=603296&r2=603297&view=diff
==============================================================================
--- ofbiz/site/dtds/service-eca.xsd (original)
+++ ofbiz/site/dtds/service-eca.xsd Tue Dec 11 08:57:12 2007
@@ -229,6 +229,15 @@
</xs:restriction>
</xs:simpleType>
</xs:attribute>
+ <xs:attribute name="result-to-result" default="false">
+ <xs:annotation><xs:documentation>If true, copies the action's result Map into the service's result Map.</xs:documentation></xs:annotation>
+ <xs:simpleType>
+ <xs:restriction base="xs:token">
+ <xs:enumeration value="true"/>
+ <xs:enumeration value="false"/>
+ </xs:restriction>
+ </xs:simpleType>
+ </xs:attribute>
<xs:attribute name="ignore-failure" default="true">
<xs:simpleType>
<xs:restriction base="xs:token">