mirror of
https://github.com/Lastorder-DC/rhymix.git
synced 2026-01-12 07:11:42 +09:00
Added script to validate XML Query/Schema Language files
git-svn-id: http://xe-core.googlecode.com/svn/branches/1.5.0@10544 201d5d3c-b55e-5fd7-737f-ddc643e51545
This commit is contained in:
parent
532a6a0645
commit
6394a5c278
33 changed files with 4202 additions and 0 deletions
43
tools/dbxml_validator/xml_insert.xsd
Normal file
43
tools/dbxml_validator/xml_insert.xsd
Normal file
|
|
@ -0,0 +1,43 @@
|
|||
<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 XpressEngine to
|
||||
validate a SQL plain INSERT statement (as opposed to an
|
||||
INSERT INTO.. SELECT.. statement).
|
||||
|
||||
XpressEngine is an open source framework for creating your web sites.
|
||||
http://xpressengine.org/
|
||||
|
||||
Author: Adrian Constantin, Arnia Software (adrian.constantin@arnia.ro)
|
||||
Date: 09 mar 2012
|
||||
</xsd:documentation>
|
||||
</xsd:annotation>
|
||||
|
||||
<xsd:redefine schemaLocation="xml_insert_generic.xsd">
|
||||
|
||||
<xsd:complexType name="SqlInsertStatementType">
|
||||
<xsd:complexContent>
|
||||
<xsd:restriction base="SqlInsertStatementType">
|
||||
<xsd:all>
|
||||
<xsd:element name="columns" type="ColumnsAssignamentType">
|
||||
<xsd:key name="distinct_column_names_list">
|
||||
<xsd:selector xpath="column" />
|
||||
<xsd:field xpath="@name" />
|
||||
</xsd:key>
|
||||
</xsd:element>
|
||||
<xsd:element name="tables" type="DataChangeStatementTablesType" />
|
||||
</xsd:all>
|
||||
|
||||
<xsd:attribute name="action" type="plainInsertAttributeType" use="required" />
|
||||
</xsd:restriction>
|
||||
</xsd:complexContent>
|
||||
</xsd:complexType>
|
||||
|
||||
</xsd:redefine>
|
||||
|
||||
<xsd:simpleType name="plainInsertAttributeType">
|
||||
<xsd:restriction base="insertGenericAttributeType">
|
||||
<xsd:pattern value="[Ii][Nn][Ss][Ee][Rr][Tt]" />
|
||||
</xsd:restriction>
|
||||
</xsd:simpleType>
|
||||
</xsd:schema>
|
||||
Loading…
Add table
Add a link
Reference in a new issue