Subj : XML
To : Micael Bulow
From : Jan Vermeulen
Date : Mon Jan 06 2003 09:44 pm
Quoting Micael Bulow on Mon 6 Jan 2003 7:29 to Jan Vermeulen:
mb>> In XML, it does.
JV>> That's bad. Loose all new entries when you loose one. We can't
JV>> have that.
mb> You don't loose anything, but the parser wont acceppt it.
So it will not go to the next level; that is tantamount of loosing it this
and possibly later weeks. That's why we have the error flag in the current
nodelist: flag it but do not break it...
[...]
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?
mb> An XML parser wouldn't acceppt the XML document at all if the file
mb> is not valid. It would exit with an error message, telling you what
mb> line is invalid.
That was not my question. Let me rephrase it: if the document would
containt two errors, would the parser exit when finding the first error or
would it continue to the end of the document and prooduce a log of all errors
found?
-=<[ JV ]>=-
* Origin: The Poor Man's Workstation -- Wormerveer NL (2:280/100)