[udm-dev] Disallowed characters in Uml String attributes

Endre Magyari endre at isis.vanderbilt.edu
Mon Mar 8 07:23:38 CST 2010


Hi Kevin,
 
You mean the string attribute's name or it's value?
 
 
; - array delimiter char in case of string arrays
\ - escape character
 
But both can be escaped.
 
In test_generic\ you'll see how to have a " or a \ in the value of string attribute.
 
Endre
 
 

________________________________

From: udm-dev-bounces at list.isis.vanderbilt.edu on behalf of Kevin Smyth
Sent: Thu 2/11/2010 9:37 AM
To: udm-dev at list.isis.vanderbilt.edu
Cc: Tripti Saxena
Subject: [udm-dev] Disallowed characters in Uml String attributes



The parser in Uml2UdmXml has this:

 

STRING_LITERAL

      :     '"' (~('"'|';'|'\\'))* '"'

      ;

 

 

What's the reason for disallowing '\' and ';' ?

 

Kevin

 



More information about the udm-dev mailing list