Hi, <br><span class="gmail_quote"></span><br><div><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;"> Hmm, I think the "NULL" comes from the fact that you only use "SYSTEM",<br>
without providing an ID. libxml2 printf()'s the ID here.<br> <br> So, well, it can't find it on your system. Have you tried something like<br> <br> "file://C:/Desarrollo/pythontests/lxml/foo.dtd"<br> <br>
?<br> <br> And: have you made sure the file is actually there?</blockquote><div><br>All the files are in the right place, so that is not the problem. <br>I tried "file://C:/Desarrollo/pythontests/lxml/foo.dtd", bang, same failure.<br>
But "C:/Desarrollo/pythontests/lxml/foo.dtd" does work!. <br>"foo.dtd" works too (foo.xml is in the same location).<br><br>I'm wondering why, in the unsuccessful cases, the resolver receives both url and id set to None, perhaps the parser doesn't like backward slashes.<br>
Any idea?<br> </div><br></div><br>