Bruce Dubbs wrote:
On Fri, May 26, 2017 at 9:08 AM, Jeremy Henty <[email protected] <mailto:[email protected]>> wrote: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. It's in archive. That means it is not used any more.
Upon further analysis, the kf5-download-http in kf5-frameworks.xml is indeed circular. I commented it out as it is defined in packages.ent.
Curious that xsltproc did not complain. -- Bruce -- http://lists.linuxfromscratch.org/listinfo/blfs-dev FAQ: http://www.linuxfromscratch.org/blfs/faq.html Unsubscribe: See the above information page
