mirror of
https://github.com/Lastorder-DC/rhymix.git
synced 2026-01-24 13:49:56 +09:00
Merge 1.5.2.3 (~r10623)
git-svn-id: http://xe-core.googlecode.com/svn/trunk@10624 201d5d3c-b55e-5fd7-737f-ddc643e51545
This commit is contained in:
parent
79fdf10866
commit
e4306a789f
915 changed files with 71076 additions and 245 deletions
53
tools/dbxml_validator/xml_delete.xsd
Normal file
53
tools/dbxml_validator/xml_delete.xsd
Normal file
|
|
@ -0,0 +1,53 @@
|
|||
<xsd:schema xmlns:xsd="http://www.w3.org/2001/XMLSchema" xml:lang="en">
|
||||
|
||||
<xsd:annotation>
|
||||
<xsd:documentation>
|
||||
Redefines the main XML Query Language schema in XE to validate SQL DELETE
|
||||
statements.
|
||||
|
||||
XpressEngine is an open source framework for creating your web sites.
|
||||
http://xpressengine.org/
|
||||
|
||||
File: tools/xml_delete.xsd
|
||||
Author: Adrian Constantin, Arnia Software (adrian.constantin@arnia.ro)
|
||||
Date: 09 mar 2012
|
||||
|
||||
</xsd:documentation>
|
||||
</xsd:annotation>
|
||||
|
||||
<xsd:redefine schemaLocation="xml_colassign.xsd">
|
||||
|
||||
<xsd:complexType name="SqlStatementType">
|
||||
<xsd:annotation>
|
||||
<xsd:documentation>
|
||||
Re-define SqlStatementType for a DELETE statement: include only the
|
||||
<tables>, <conditions> and <index_hint> elements.
|
||||
|
||||
<conditions> could be made a required element to prevent truncating
|
||||
an entire table by mistake.
|
||||
</xsd:documentation>
|
||||
</xsd:annotation>
|
||||
|
||||
<xsd:complexContent>
|
||||
<xsd:restriction base="SqlStatementType">
|
||||
<xsd:all>
|
||||
<xsd:element name="tables" type="DataChangeStatementTablesType" />
|
||||
<xsd:element name="conditions" type="ConditionsType" minOccurs="0" />
|
||||
<xsd:element name="index_hint" type="IndexHintsType" minOccurs="0" />
|
||||
</xsd:all>
|
||||
|
||||
<xsd:attribute name="action" type="deleteActionAttributeType" use="required" />
|
||||
</xsd:restriction>
|
||||
</xsd:complexContent>
|
||||
</xsd:complexType>
|
||||
|
||||
</xsd:redefine>
|
||||
|
||||
<xsd:simpleType name="deleteActionAttributeType">
|
||||
<xsd:restriction base="actionAttributeType">
|
||||
<xsd:pattern value="[Dd][Ee][Ll][Ee][Tt][Ee]" />
|
||||
</xsd:restriction>
|
||||
</xsd:simpleType>
|
||||
|
||||
<xsd:element name="query" type="SqlStatementType" />
|
||||
</xsd:schema>
|
||||
Loading…
Add table
Add a link
Reference in a new issue