[xml] xmllint DTD question



Hi,

Load this attached file with libxml gives the following our
I/O warning : failed to load external entity

using xmllint
xmllint --valid --noout room1.xml
room1.xml:2: validity error : Validation failed: no DTD found !
<wpkg >
       ^

The file doesn't specify a DTD so why is it trying to look for one?

Best Regards
  Alistair Leslie-Hughes

<?xml version="1.0" encoding="UTF-8"?>
<wpkg >

<!-- Will match all hosts with hostnames beginning with room1-pc -->
    <host name="room1-pc.+" profile-id="room1" />

</wpkg>



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]