| @@ 279-286 (lines=8) @@ | ||
| 276 | $this->_currentTagContents = ''; |
|
| 277 | $valueFlag = true; |
|
| 278 | break; |
|
| 279 | case 'value': |
|
| 280 | // "If no type is indicated, the type is string." |
|
| 281 | if ('' != trim($this->_currentTagContents)) { |
|
| 282 | $value = (string)$this->_currentTagContents; |
|
| 283 | $this->_currentTagContents = ''; |
|
| 284 | $valueFlag = true; |
|
| 285 | } |
|
| 286 | break; |
|
| 287 | case 'boolean': |
|
| 288 | $value = (boolean)trim($this->_currentTagContents); |
|
| 289 | $this->_currentTagContents = ''; |
|
| @@ 287-291 (lines=5) @@ | ||
| 284 | $valueFlag = true; |
|
| 285 | } |
|
| 286 | break; |
|
| 287 | case 'boolean': |
|
| 288 | $value = (boolean)trim($this->_currentTagContents); |
|
| 289 | $this->_currentTagContents = ''; |
|
| 290 | $valueFlag = true; |
|
| 291 | break; |
|
| 292 | case 'base64': |
|
| 293 | $value = base64_decode(trim($this->_currentTagContents)); |
|
| 294 | $this->_currentTagContents = ''; |
|