reSIProcate/stack  9373
Defines | Functions | Variables
XMLCursor.cxx File Reference
#include "resip/stack/XMLCursor.hxx"
#include "resip/stack/Symbols.hxx"
#include "rutil/Logger.hxx"
#include "rutil/WinLeakCheck.hxx"
Include dependency graph for XMLCursor.cxx:

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 Documentation

#define RESIPROCATE_SUBSYSTEM   Subsystem::CONTENTS

Definition at line 13 of file XMLCursor.cxx.


Function Documentation

static const Data COMMENT_START ( ) [static]

Variable Documentation

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]
char HYPHEN[] = "-" [static]

Definition at line 41 of file XMLCursor.cxx.

Referenced by resip::XMLCursor::Node::skipComments().

const Data QUESTION_RA_QUOTE("?>") [static]
const Data RA_QUOTE_SLASH(">/") [static]
Data SLASH_RA_QUOTE("/>") [static]