From e98aa6fccd8c411b9c2a488e3938032e8dcbe524 Mon Sep 17 00:00:00 2001 From: Myun2 Date: Sun, 14 Nov 2010 01:00:10 +0900 Subject: [PATCH] =?utf8?q?rule=5Fxml.hpp:=20pcode=20=E3=81=B8=E3=81=AE?= =?utf8?q?=E3=82=A8=E3=83=A9=E3=83=BC=E3=82=B3=E3=83=BC=E3=83=89=E7=B3=BB?= =?utf8?q?=E8=BF=BD=E5=8A=A0=E9=96=8B=E5=A7=8B?= MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit --- roast/include/roast/xml/roast_xml/rule_xml.hpp | 38 ++++++++++++++++++++++++++ 1 file changed, 38 insertions(+) diff --git a/roast/include/roast/xml/roast_xml/rule_xml.hpp b/roast/include/roast/xml/roast_xml/rule_xml.hpp index 9f0b77a0..5ce8687c 100644 --- a/roast/include/roast/xml/roast_xml/rule_xml.hpp +++ b/roast/include/roast/xml/roast_xml/rule_xml.hpp @@ -87,6 +87,44 @@ namespace roast end_close_element_name, end_empty_element, + // Error Codes ////////////////////////////// + + /* + _error_start = 0x8000, + + root_cant_have_text, + maybe_comment_start_but_error, + maybe_comment_end_but_error, + + // invalid termination. + invalid_term_in_comment, + invalid_term_in_processing_instruction, + + processing_instruction_no_name, + maybe_processing_instruction_end_but_error, + */ + + _error_start = 0x8000, + + root_cant_have_text, + root_element_too_many, + + invalid_comment_start,//maybe_comment_start_but_error, // or -> + + // invalid termination. + invalid_term_in_comment, + invalid_term_in_processing_instruction, + invalid_term_in_attrname, + invalid_term_in_attrvalue, + invalid_term_in_xml, + + processing_instruction_no_name, + maybe_processing_instruction_end_but_error, + + have_not_attr_value, + tag_into_lesser, + __end }; } -- 2.11.0