Lines Matching defs:document
252 // The basic issue with a document is that we don't know what we're
309 // Parse away, at the document level. Since a document
522 TiXmlDocument* document = GetDocument();
526 if ( document ) document->SetError( TIXML_ERROR_PARSING_ELEMENT );
536 if ( document ) document->SetError( TIXML_ERROR_FAILED_TO_READ_ELEMENT_NAME );
551 if ( document ) document->SetError( TIXML_ERROR_READING_ATTRIBUTES );
560 if ( document ) document->SetError( TIXML_ERROR_PARSING_EMPTY );
583 if ( document ) document->SetError( TIXML_ERROR_READING_END_TAG );
591 attrib.SetDocument( document );
596 if ( document ) document->SetError( TIXML_ERROR_PARSING_ELEMENT );
608 TiXmlDocument* document = GetDocument();
630 if ( document ) document->SetError( TIXML_ERROR_OUT_OF_MEMORY );
668 if ( document ) document->SetError( TIXML_ERROR_READING_ELEMENT_VALUE );
692 TiXmlDocument* document = GetDocument();
696 if ( document ) document->SetError( TIXML_ERROR_PARSING_UNKNOWN );
734 TiXmlDocument* document = GetDocument();
743 document->SetError( TIXML_ERROR_PARSING_COMMENT );
761 if ( document ) document->SetError( TIXML_ERROR_READING_ATTRIBUTES );
767 if ( document ) document->SetError( TIXML_ERROR_READING_ATTRIBUTES );
775 if ( document ) document->SetError( TIXML_ERROR_READING_ATTRIBUTES );
862 TiXmlDocument* document = GetDocument();
865 if ( document ) document->SetError( TIXML_ERROR_PARSING_DECLARATION );