<div dir="ltr">Sorry, my mistake I introduce a false clue,  I thought the bug was on XMLDOMParser, but doing a more deeply analysis I guess that the problem is on the Class which call XMLDOMParser, more precisely on the method gconfPropertiesAt of SugarLauncher class, bellow paste the source code:<div>
<br></div><div><div>gconfPropertiesAt: aString</div><div>    | dir |</div><div>    &quot;search up tree to guess home dir&quot;</div><div>    dir := Project squeakletDirectory.</div><div>    [dir pathName = &#39;/&#39;] whileFalse: [</div>
<div>        dir := dir containingDirectory.</div><div>        [FileStream</div><div>            readOnlyFileNamed: dir pathName, &#39;/.gconf&#39;, aString, &#39;/%gconf.xml&#39;</div><div>            do: [:f |</div><div>
                | props |</div><div>                props := Dictionary new.</div><div>                (XMLDOMParser parseDocumentFrom: f)</div><div>                    tagsNamed: #entry do: [:entry |</div><div>                        props at: (entry attributeAt: &#39;name&#39;)</div>
<div>                            put: entry elements first contentString].</div><div>                ^props].</div><div>        ] on: FileDoesNotExistException do: [:ignore | ].</div><div>    ].</div><div>    ^self error: &#39;cannot find gconf path &#39;, aString</div>
</div><div><br></div><div><br></div><div>Why i&#39;m saying that XMLDOMParser isn&#39;t the problem, because i did the test, call XMLDOMParser passing the xml file and the parsing work fine:</div><div><br></div><div>f:=FileStream readOnlyFileNamed: /home/estudiante/.gconf/desktop/sugar/user/%gconf.xml&#39;</div>
<div><br></div><div>XMLDOMParser parseDocumentFrom: f</div><div><br></div><div><br></div><div>Thoughts ?</div><div><br></div><div>Thanks in advance.</div><div><br></div><div><br></div></div><div class="gmail_extra"><br><br>
<div class="gmail_quote">On Thu, Jan 16, 2014 at 2:06 PM, Georg Gollmann <span dir="ltr">&lt;<a href="mailto:gollmann@zid.tuwien.ac.at" target="_blank">gollmann@zid.tuwien.ac.at</a>&gt;</span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<div style="word-wrap:break-word"><br><div><div>Am 16.01.2014 um 16:21 schrieb Gustavo Duarte &lt;<a href="mailto:gduarte@activitycentral.com" target="_blank">gduarte@activitycentral.com</a>&gt;:</div><div class="im"><br>
<blockquote type="cite"><div style="font-family:Helvetica;font-size:12px;font-style:normal;font-variant:normal;font-weight:normal;letter-spacing:normal;line-height:normal;text-align:start;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px">
So if i understood well you, adding a schema specification to xml file, should resolve the problem ?</div></blockquote><br></div></div><div>Not really. The schema would just define whether the file or the application code is in error.</div>
<div>Essentially you have already resolved the problem by giving the file a structure the application can deal with.</div><div>In any case AFAIK the XMLDOMParser is not part of the problem.</div><br><div>
<span style="border-collapse:separate;border-spacing:0px"><div>Kind regards</div><span class="HOEnZb"><font color="#888888"><div>Georg</div></font></span></span></div></div><br><br>
<br></blockquote></div><br></div>