commit
a7f687fdf8
@ -128,7 +128,7 @@ And the `InputStream` is type of input stream.
|
|||||||
|
|
||||||
## Parse Error {#ParseError}
|
## Parse Error {#ParseError}
|
||||||
|
|
||||||
When the parse processing succeeded, the `Document` contains the parse results. When there is an error, the original DOM is *unchanged*. And the error state of parsing can be obtained by `bool HasParseError()`, `ParseErrorCode GetParseError()` and `size_t GetParseOffset()`.
|
When the parse processing succeeded, the `Document` contains the parse results. When there is an error, the original DOM is *unchanged*. And the error state of parsing can be obtained by `bool HasParseError()`, `ParseErrorCode GetParseError()` and `size_t GetErrorOffset()`.
|
||||||
|
|
||||||
Parse Error Code | Description
|
Parse Error Code | Description
|
||||||
--------------------------------------------|---------------------------------------------------
|
--------------------------------------------|---------------------------------------------------
|
||||||
|
@ -128,7 +128,7 @@ GenericDocument& GenericDocument::Parse(const Ch* str);
|
|||||||
|
|
||||||
## 解析错误 {#ParseError}
|
## 解析错误 {#ParseError}
|
||||||
|
|
||||||
当解析过程顺利完成,`Document` 便会含有解析结果。当过程出现错误,原来的 DOM 会*维持不变*。可使用 `bool HasParseError()`、`ParseErrorCode GetParseError()` 及 `size_t GetParseOffset()` 获取解析的错误状态。
|
当解析过程顺利完成,`Document` 便会含有解析结果。当过程出现错误,原来的 DOM 会*维持不变*。可使用 `bool HasParseError()`、`ParseErrorCode GetParseError()` 及 `size_t GetErrorOffset()` 获取解析的错误状态。
|
||||||
|
|
||||||
解析错误代号 | 描述
|
解析错误代号 | 描述
|
||||||
--------------------------------------------|---------------------------------------------------
|
--------------------------------------------|---------------------------------------------------
|
||||||
|
Loading…
x
Reference in New Issue
Block a user