Reverts the simple method to use the original schema without namespace. "Duplicates" simple-methods.xsd in simple-methods-ns.xsd as we did, to get the simple-method namespace for compound-widgets. For myself: when we will do the 3rd more elegant option (no schema duplication), have been changed also: minilang-catalog.xml compound-widgets.xsd git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1749938 13f79535-47bb-0310-9956-ffa450edef68
30 lines
1.5 KiB
XML
30 lines
1.5 KiB
XML
<xs:schema
|
|
xmlns:sc="http://ofbiz.apache.org/Site-Conf"
|
|
xmlns:sm="http://ofbiz.apache.org/Simple-Method"
|
|
xmlns:wf="http://ofbiz.apache.org/Widget-Form"
|
|
xmlns:wt="http://ofbiz.apache.org/Widget-Tree"
|
|
xmlns:wm="http://ofbiz.apache.org/Widget-Menu"
|
|
xmlns:ws="http://ofbiz.apache.org/Widget-Screen"
|
|
xmlns:xs="http://www.w3.org/2001/XMLSchema"
|
|
elementFormDefault="qualified">
|
|
|
|
<xs:import schemaLocation="../../webapp/dtd/site-conf.xsd" namespace="http://ofbiz.apache.org/Site-Conf"/>
|
|
<xs:import schemaLocation="widget-menu.xsd" namespace="http://ofbiz.apache.org/Widget-Menu"/>
|
|
<xs:import schemaLocation="widget-screen.xsd" namespace="http://ofbiz.apache.org/Widget-Screen"/>
|
|
<xs:import schemaLocation="widget-form.xsd" namespace="http://ofbiz.apache.org/Widget-Form"/>
|
|
<xs:import schemaLocation="widget-tree.xsd" namespace="http://ofbiz.apache.org/Widget-Tree"/>
|
|
<xs:import schemaLocation="../../minilang/dtd/simple-methods-ns.xsd" namespace="http://ofbiz.apache.org/Simple-Method"/>
|
|
|
|
<xs:element name="compound-widgets">
|
|
<xs:complexType>
|
|
<xs:all minOccurs="0" maxOccurs="1">
|
|
<xs:element ref="sc:site-conf"/>
|
|
<xs:element ref="wm:menus" minOccurs="0" maxOccurs="1"/>
|
|
<xs:element ref="ws:screens"/>
|
|
<xs:element ref="wt:trees" minOccurs="0" maxOccurs="1"/>
|
|
<xs:element ref="wf:forms"/>
|
|
<xs:element ref="sm:simple-methods"/>
|
|
</xs:all>
|
|
</xs:complexType>
|
|
</xs:element>
|
|
</xs:schema> |