Skip to content

Commit

Permalink
add () as valid characters in key name
Browse files Browse the repository at this point in the history
  • Loading branch information
tunglxfast committed Oct 19, 2023
1 parent db5692e commit 06c56bd
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/demo/resources/demo/simple/consumption_template.xml
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@
<iterate type="consumplist" source="mem" consumer="ConsoleExporter">
<attribute name="category" type="string" script="consumplist.category"/>
<attribute name="transactionId" type="string" script="consumplist.transactionId"/>
<part name="data" minCount="1" maxCount="1">
<part name="COUNTRY_Code(Aplha2)" minCount="1" maxCount="1">
<attribute name="ISO_3166-1_NUM-3" type="string" script="consumplist.iso"/>
</part>
</iterate>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@
public class IdParser extends RegexBasedStringParser {

public IdParser() {
super("id", "[A-Za-z_][A-Za-z0-9_-]*");
super("id", "[A-Za-z_$][A-Za-z0-9_-[\\(][\\)]]*");
}

}

0 comments on commit 06c56bd

Please sign in to comment.