Allow package names for function identifiers. E.g., "Foo.Bar".

This commit is contained in:
Steve Checkoway
2007-08-13 02:16:23 +00:00
parent 73cc4c0793
commit 7bce84be06
+7 -1
View File
@@ -43,6 +43,12 @@
</xs:restriction>
</xs:simpleType>
<xs:simpleType name="FunctionIdentifier">
<xs:restriction base="xs:string">
<xs:pattern value="[a-zA-Z_][a-zA-Z0-9_]*(\.[a-zA-Z_][a-zA-Z0-9_]*)?" />
</xs:restriction>
</xs:simpleType>
<xs:simpleType name="IdentifierOrTable">
<xs:restriction base="xs:string">
<xs:pattern value="[a-zA-Z_][a-zA-Z0-9_]*|\{[a-zA-Z_][a-zA-Z0-9_]*\}" />
@@ -123,7 +129,7 @@
<xs:complexType name="Function" mixed="true">
<xs:group ref="DocumentationGroup" minOccurs="0" maxOccurs="unbounded" />
<xs:attribute name="name" type="Identifier" use="required" />
<xs:attribute name="name" type="FunctionIdentifier" use="required" />
<xs:attribute name="return" type="IdentifierOrTable" use="optional" />
<xs:attribute name="arguments" type="ArgumentList" use="optional" />
</xs:complexType>