[squeak-dev] Interaction with Sugar on Ubuntu.

Gustavo Duarte gduarte at activitycentral.com
Thu Jan 16 15:21:36 UTC 2014


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 at zid.tuwien.ac.at>wrote:

>
> 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/fdc5711e/attachment.htm


More information about the Squeak-dev mailing list