|
reSIProcate/stack
9373
|
#include "resip/stack/XMLCursor.hxx"#include "resip/stack/Symbols.hxx"#include "rutil/Logger.hxx"#include "rutil/WinLeakCheck.hxx"
Go to the source code of this file.
Defines | |
| #define | RESIPROCATE_SUBSYSTEM Subsystem::CONTENTS |
Functions | |
| static const Data | COMMENT_START ("<!--") |
Variables | |
| static char | BANG [] = "!" |
| Whitespace handling: Are the following XML fragments equivalent? | |
| static char | HYPHEN [] = "-" |
| static const Data | COMMENT_END ("-->") |
| static const Data | QUESTION_RA_QUOTE ("?>") |
| static const Data | RA_QUOTE_SLASH (">/") |
| static Data | SLASH_RA_QUOTE ("/>") |
| #define RESIPROCATE_SUBSYSTEM Subsystem::CONTENTS |
Definition at line 13 of file XMLCursor.cxx.
| static const Data COMMENT_START | ( | ) | [static] |
Referenced by resip::XMLCursor::XMLCursor().
char BANG[] = "!" [static] |
Whitespace handling: Are the following XML fragments equivalent?
Strictly interpreted, the root of the first XML document has one child while the root of the second XML doucment has three children. The line breaks and spaces after the <root> and before </root> are tagless children.
---> <root><child>child content</child></root> <-- vs. ---> <root> <child>child content</child> </root> <--
Treating whitespace as children is consistent with the spec but not usually convenient. <!ATTLIST poem xml:space (default|preserve) 'preserve'> is used to control whitespace handling. Supporting this switch is painful. For now, treat whitespace as non-significant.
Definition at line 40 of file XMLCursor.cxx.
Referenced by resip::XMLCursor::Node::skipComments().
const Data COMMENT_END("-->") [static] |
Referenced by resip::XMLCursor::Node::skipComments().
char HYPHEN[] = "-" [static] |
Definition at line 41 of file XMLCursor.cxx.
Referenced by resip::XMLCursor::Node::skipComments().
const Data QUESTION_RA_QUOTE("?>") [static] |
Referenced by resip::XMLCursor::skipProlog().
const Data RA_QUOTE_SLASH(">/") [static] |
Referenced by resip::XMLCursor::getAttributes().
Data SLASH_RA_QUOTE("/>") [static] |
Referenced by resip::XMLCursor::Node::extractTag().
1.7.5.1