ReadXMLFile
function · ui · orchestration
- Address
0x6edaa0· 138 bytes, up to0x6edb29- Meaning
- Reads and hashes a file and parses it into a node tree, reporting a failure to open or parse
- Confidence
- verified, proof one
- Finding
- ui/framexml#loading-one-file
Finding: Loading one file in ui: loading the interface from toc and XML files
0x6ede10(path, md5, status) first collapses ..: while the path holds a .. with a separator on
both sides, it removes it with the directory before it; the first .. not so bounded stops the
collapse. Then a path whose text from its last . is .lua, in any case, runs as a Lua file;
anything else is read, hashed and parsed as XML, and its top-level elements are loaded. A Lua file
runs as the chunk @path; a missing one reports Error loading %s. A compile error is reported and
then passed to the error handler; a run-time error goes to the handler and is then reported.
The derivation is in the doc.
Callers 2
Callees 4
- SFile::Load storm
- SFile::Unload storm
- MD5Update storm
- ParseXMLBuffer ui
Calls and jumps by a bare address, from tables/calls.tsv.