Skip to content

Commit

Permalink
update REP 149 to enable quoted literals (#288)
Browse files Browse the repository at this point in the history
  • Loading branch information
dirk-thomas authored Sep 28, 2020
1 parent abfddd3 commit 3486e23
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
4 changes: 3 additions & 1 deletion rep-0149.rst
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ Status: Final
Type: Standards Track
Content-Type: text/x-rst
Created: 11-Oct-2017
Post-History: 02-Jan-2018
Post-History: 02-Jan-2018, 31-Aug-2020

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

An expression syntactically correct by the previous definition will be
Expand Down
2 changes: 1 addition & 1 deletion xsd/package_format3.xsd
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@
<xs:attribute name="condition" use="optional">
<xs:simpleType>
<xs:restriction base="xs:token">
<xs:pattern value="[$A-Za-z0-9_\s&lt;&gt;!=()-]*"/>
<xs:pattern value="[$A-Za-z0-9_\s&quot;'&lt;&gt;!=()-]*"/>
</xs:restriction>
</xs:simpleType>
</xs:attribute>
Expand Down

0 comments on commit 3486e23

Please sign in to comment.