Recent posts about XML/HTML correctness inspired me to validate all of
the BLFS XML files.  I attach the result.

The  error from  "BOOK/archive/gnome-obsolete/obsolete.xml" is  at the
last line of the file.  I am sure it is due to the fact that this file
contains nothing except a "<!-- ... -->" XML comment.

The error from "BOOK/kde/kf5/kf5-frameworks.xml"  refers to a usage of
the &kf5-download-http; entity.  This is defined on line 7 as:

      <!ENTITY kf5-download-http "&kf5-download-http;">

which looks wrong to me.

The program is a small Ruby script that uses Nokogiri, a Ruby gem that
wraps  libxml2.  I  filtered out  numerous errors  and warnings  about
undefined entities, as  I believe they are due to  Nokogiri by default
not including external entities.

Next up:  dependencies (circular  and otherwise).  Assuming  anyone is
interested!

Regards,

Jeremy Henty
xml file count: 1314
BOOK/archive/gnome-obsolete/obsolete.xml
  syntax error
    line = 42: Start tag expected, '<' not found
BOOK/kde/kf5/kf5-frameworks.xml
  syntax error
    line = 41: Detected an entity reference loop
-- 
http://lists.linuxfromscratch.org/listinfo/blfs-dev
FAQ: http://www.linuxfromscratch.org/blfs/faq.html
Unsubscribe: See the above information page

Reply via email to