[squeak-dev] Interaction with Sugar on Ubuntu.

Georg Gollmann gollmann at zid.tuwien.ac.at
Thu Jan 16 15:12:52 UTC 2014


Am 16.01.2014 um 15:54 schrieb Gustavo Duarte <gduarte at 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


-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.squeakfoundation.org/pipermail/squeak-dev/attachments/20140116/fefa4377/attachment.htm


More information about the Squeak-dev mailing list