Skip to content

Commit a5031f3

Browse files
committed
MNT #512 add suggested support
1 parent d27d71f commit a5031f3

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

XML_schema/NDAttributes.xsd

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -189,13 +189,15 @@
189189
BUT, cannot express "<" in XML, must use &lt; but that won't parse!
190190
So, use use a reduced (but very likely) subset of rules.
191191
Do not allow these symbols: []<>
192+
193+
To support macro expansion, support these symbols: $ ( )
192194
-->
193195
<xs:union memberTypes="type_EPICS_PV_source type_PARAM_source"/>
194196
</xs:simpleType>
195197

196198
<xs:simpleType name="type_EPICS_PV_source">
197-
<xs:restriction base="xs:NMTOKEN">
198-
<xs:pattern value="[\w_\-:.;]+([.][A-Z0-9]+)?"/>
199+
<xs:restriction base="xs:string">
200+
<xs:pattern value="[\w_\-:.;\$\(\)]+([.][A-Z0-9]+)?"/>
199201
</xs:restriction>
200202
</xs:simpleType>
201203

0 commit comments

Comments
 (0)