|
|
@@ -1539,15 +1539,15 @@ char* XMLElement::ParseAttributes( char* p )
|
|
|
prevAttribute = attrib;
|
|
|
}
|
|
|
// end of the tag
|
|
|
- else if ( *p == '/' && *(p+1) == '>' ) {
|
|
|
- _closingType = CLOSED;
|
|
|
- return p+2; // done; sealed element.
|
|
|
- }
|
|
|
- // end of the tag
|
|
|
else if ( *p == '>' ) {
|
|
|
++p;
|
|
|
break;
|
|
|
}
|
|
|
+ // end of the tag
|
|
|
+ else if ( *p == '/' && *(p+1) == '>' ) {
|
|
|
+ _closingType = CLOSED;
|
|
|
+ return p+2; // done; sealed element.
|
|
|
+ }
|
|
|
else {
|
|
|
_document->SetError( XML_ERROR_PARSING_ELEMENT, start, p );
|
|
|
return 0;
|