Skip to content

Commit 3486e23

Browse files
authored
update REP 149 to enable quoted literals (ros-infrastructure#288)
1 parent abfddd3 commit 3486e23

File tree

2 files changed

+4
-2
lines changed

2 files changed

+4
-2
lines changed

rep-0149.rst

+3-1
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ Status: Final
55
Type: Standards Track
66
Content-Type: text/x-rst
77
Created: 11-Oct-2017
8-
Post-History: 02-Jan-2018
8+
Post-History: 02-Jan-2018, 31-Aug-2020
99

1010
Outline
1111
=======
@@ -608,6 +608,8 @@ Attributes
608608
* variable names which start with a `$` sign and are followed by
609609
alphanumerics and underscores
610610
* literals which can only contain alphanumerics, underscores and dashes
611+
* quoted literals (single or double quotes) which can contain any characters
612+
except the used quote character
611613
* arbitrary whitespaces between these tokens
612614

613615
An expression syntactically correct by the previous definition will be

xsd/package_format3.xsd

+1-1
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@
3232
<xs:attribute name="condition" use="optional">
3333
<xs:simpleType>
3434
<xs:restriction base="xs:token">
35-
<xs:pattern value="[$A-Za-z0-9_\s&lt;&gt;!=()-]*"/>
35+
<xs:pattern value="[$A-Za-z0-9_\s&quot;'&lt;&gt;!=()-]*"/>
3636
</xs:restriction>
3737
</xs:simpleType>
3838
</xs:attribute>

0 commit comments

Comments
 (0)