| 216 | |
| 217 | |
| 218 | char* StrPair::ParseName( char* p ) |
| 219 | { |
| 220 | if ( !p || !(*p) ) { |
| 221 | return 0; |
| 222 | } |
| 223 | if ( !XMLUtil::IsNameStartChar( *p ) ) { |
| 224 | return 0; |
| 225 | } |
| 226 | |
| 227 | char* const start = p; |
| 228 | ++p; |
| 229 | while ( *p && XMLUtil::IsNameChar( *p ) ) { |
| 230 | ++p; |
| 231 | } |
| 232 | |
| 233 | Set( start, p, 0 ); |
| 234 | return p; |
| 235 | } |
| 236 | |
| 237 | |
| 238 | void StrPair::CollapseWhitespace() |
no test coverage detected