Trying to use xmllint on a profile

Dermot Bradley bradley at
Sun Feb 29 12:20:55 PST 2004

I'm trying to use xmllint to vet a working profile I have. I'm calling it
as follows:

   xmllint --debug --noent --xinclude --postvalid --valid build-eyes.xml

and the file build-eyes.xml contains:

   <?xml version="1.0?>
   <!DOCTYPE alfs SYSTEM="ALFS.dtd" []>

   <alfs version="3.1" xmlns:xi="">

   <xi:include href="base.xml"/>

   <xi:include href="eyes.xml"/>

   <xi:include href="finish.xml"/>
   <xi:include href="initrd.xml"/>


When I run the above xmllint command I get:

build-eyes.xml:4: element alfs: validity error : No declaration for
attribute xmlns:xi of element alfs
<alfs version="3.1" xmlns:xi="">
build-eyes.xml:6: element include: validity error : No declaration for
attribute href of element include
<xi:include href="base.xml"/>

Any suggestions?

More information about the alfs-discuss mailing list