Pyrogenesis  trunk
Functions
XMLFix.cpp File Reference
#include "precompiled.h"
#include "XMLFix.h"
#include "CommonConvert.h"
#include "FUtils/FUXmlParser.h"
Include dependency graph for XMLFix.cpp:

Functions

static xmlNode * findChildElement (xmlNode *node, const char *name)
 
static bool applyFBXFixesNode (xmlNode *node)
 
static bool applyFBXFixes (xmlNode *root)
 
static bool processDocument (xmlNode *root)
 
void FixBrokenXML (const char *text, const char **out, size_t *outSize)
 Fixes some errors in COLLADA XML files that would otherwise prevent FCollada from loading them successfully. More...
 

Function Documentation

static bool applyFBXFixes ( xmlNode *  root)
static
static bool applyFBXFixesNode ( xmlNode *  node)
static
static xmlNode* findChildElement ( xmlNode *  node,
const char *  name 
)
static
void FixBrokenXML ( const char *  text,
const char **  out,
size_t *  outSize 
)

Fixes some errors in COLLADA XML files that would otherwise prevent FCollada from loading them successfully.

'out' is either a new XML document, which must be freed with xmlFree; otherwise it is equal to 'text' if no changes were made.

static bool processDocument ( xmlNode *  root)
static