Georg,
So if i understood well you, adding a schema specification to xml file, should resolve the problem ?
Thanks in advance.
On Thu, Jan 16, 2014 at 1:12 PM, Georg Gollmann gollmann@zid.tuwien.ac.atwrote:
Am 16.01.2014 um 15:54 schrieb Gustavo Duarte <gduarte@activitycentral.com
:
I don't know much about xml format, but seemingly it hasn't XML schema specification, right ?
Correct. And without a schema it is impossible to tell whether the file is valid or not.
Note however that
<entry name="birth_timestamp" mtime="1389708044" type="int"
value="-849347955"/>
and
<entry name="birth_timestamp" mtime="1389708044" type="int"> <value>-849347955</value> </entry>
create different DOM structures: Once an "entry" element with a "value" attribute, then an "entry" element with a "value" child element. If the application expects the latter it will fail on the former.
Conclusion: the parser is ok, the document does not fit the requirements of the application.
Kind regards Georg