Subj : XML
To : Jan Vermeulen
From : Micael Bulow
Date : Mon Jan 06 2003 07:29 am
JV>> Invalid data in one line do not necesserily mean that the
JV>> entire file is invalid.
mb> In XML, it does.
JV> That's bad. Loose all new entries when you loose one. We can't
JV> have that.
You don't loose anything, but the parser wont acceppt it.
JV> If I read you well, the ZC needs to make the entire XML
JV> nodelist. That meens that he gets [E]SLF segments, puts them
JV> together to make a GONL and then, only then, he can make the XML
JV> list.
Thats one way to do it. Personaly I would prefere a central SQL server to hold
the data and to generate the XML file every now and then. But there is several
other possible solutions. But we dont need to specify that.
JV> Would XML by any chance abort at the first error found, so you
JV> could be in for a nice surprise when restarting after having
JV> corrected the error?
An XML parser wouldn't acceppt the XML document at all if the file is not
valid. It would exit with an error message, telling you what line is invalid.