polserver/testsuite/escript/filemod/xml.out
turleypol 737db933ac
OpenXMLFile return value for not existing files or parsing errors (#463)
* OpenXMLFile: return error if file does not exist instead of xmlobject in
error state

* added docs

* translate every xml open/parsing error to BError

* updated core changes entry, to reflect the latest changes
2022-06-21 21:07:41 +02:00

23 lines
424 B
Text

itertest...
filemod/xmltest.xml
v:1.0 e: s: [XMLDeclaration] (1)
root [XMLElement] (2)
Hello [XMLElement] (1)
World [XMLText] (1)
nodetwo [XMLElement] (2)
-struct{ i = "1" } (1)
-struct{ j = "2" } (2)
membertest...
root= root
firstchild= Hello
firstchildstring= nodetwo
firstsibling= Comment
attributes= { i, j }
attributes= 2
scopetest...
root= root
firstchild= Hello
not existing file...
Error
invalid file...
Error