Skip to content
Snippets Groups Projects
Commit c1b1ea09 authored by al.schwinn's avatar al.schwinn
Browse files

Bug 1155 - Allow to give alias-names for

fesaProperties/Value-Items/Fields
- added unique-rule for field/Propnames
parent 7546fa18
No related branches found
No related tags found
No related merge requests found
...@@ -156,14 +156,22 @@ along with this program. If not, see http://www.gnu.org/licenses/.--> ...@@ -156,14 +156,22 @@ along with this program. If not, see http://www.gnu.org/licenses/.-->
</xs:simpleType> </xs:simpleType>
</xs:attribute> </xs:attribute>
</xs:complexType> </xs:complexType>
<xs:unique name="Register-name-per-class"> <xs:unique name="Register-name-has-to-be-unique-per-class">
<xs:selector xpath="Block/Register"/> <xs:selector xpath="Block/Register"/>
<xs:field xpath="@name"/> <xs:field xpath="@name"/>
</xs:unique> </xs:unique>
<xs:unique name="Block-name-per-class"> <xs:unique name="Block-name-has-to-be-unique-per-class">
<xs:selector xpath="Block"/> <xs:selector xpath="Block"/>
<xs:field xpath="@name"/> <xs:field xpath="@name"/>
</xs:unique> </xs:unique>
<xs:unique name="Property-name-has-to-be-unique-per-class">
<xs:selector xpath="Block"/>
<xs:field xpath="@fesaPropertyName"/>
</xs:unique>
<xs:unique name="Field-name-has-to-be-unique-per-class">
<xs:selector xpath="Block/Register"/>
<xs:field xpath="@fesaFieldName"/>
</xs:unique>
</xs:element> </xs:element>
</xs:sequence> </xs:sequence>
<xs:attribute name="silecs-version" type="VersionType" use="required"/> <xs:attribute name="silecs-version" type="VersionType" use="required"/>
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment