Changeset 11319
- Timestamp:
- 04/20/07 19:02:43 (2 years ago)
- Files:
-
- trunk/gdal/port (modified) (1 prop)
- trunk/gdal/port/cpl_minixml.cpp (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
- Modified
- Copied
- Moved
trunk/gdal/port
- Property svn:ignore changed from
cpl_config.h
*.bak
*.lib
*.lo
*.obj
to
cpl_config.h
xmlreformat
*.bak
*.lib
*.lo
*.obj
- Property svn:ignore changed from
trunk/gdal/port/cpl_minixml.cpp
r11276 r11319 203 203 } 204 204 205 /* Skip the internal DTD subset as NOT SUPPORTED YET (Ticket #755). 206 * The markup declaration block within a DOCTYPE tag consists of: 205 /* The markup declaration block within a DOCTYPE tag consists of: 207 206 * - a left square bracket [ 208 207 * - a list of declarations … … 210 209 * Example: 211 210 * <!DOCTYPE RootElement [ ...declarations... ]> 212 *213 * We need to skip all 3 parts, until closing >214 211 */ 215 212 if( chNext == '[' ) 216 213 { 214 AddToToken( psContext, chNext ); 215 217 216 do 218 217 { 219 218 chNext = ReadChar( psContext ); 219 AddToToken( psContext, chNext ); 220 220 } 221 221 while( chNext != ']' 222 222 && !EQUALN(psContext->pszInput+psContext->nInputOffset,"]>", 2) ); 223 223 224 // Skip "]" character to point to the closing ">"225 224 chNext = ReadChar( psContext ); 225 AddToToken( psContext, chNext ); 226 227 // Skip ">" character, will be consumed below 226 228 chNext = ReadChar( psContext ); 227 229 }
