equal
deleted
inserted
replaced
118 when "$pathminmaxcount = 2" { |
118 when "$pathminmaxcount = 2" { |
119 error > Widget id:«$id» label:«$label» has wrong syntax of path section «$pathminmax» |
119 error > Widget id:«$id» label:«$label» has wrong syntax of path section «$pathminmax» |
120 } |
120 } |
121 } |
121 } |
122 choose { |
122 choose { |
123 when "regexp:test($path,'^\.[a-zA-Z0-9_]+')" { |
123 when "regexp:test($path,'^\.[a-zA-Z0-9_]+$')" { |
124 attrib "type" > PAGE_LOCAL |
124 attrib "type" > PAGE_LOCAL |
125 } |
125 } |
126 when "regexp:test($path,'^[a-zA-Z0-9_]+')" { |
126 when "regexp:test($path,'^[a-zA-Z0-9_]+$')" { |
127 attrib "type" > HMI_LOCAL |
127 attrib "type" > HMI_LOCAL |
128 } |
128 } |
129 otherwise { |
129 otherwise { |
130 const "item", "$indexed_hmitree/*[@hmipath = $path]"; |
130 const "item", "$indexed_hmitree/*[@hmipath = $path]"; |
131 const "pathtype", "local-name($item)"; |
131 const "pathtype", "local-name($item)"; |