Sent: Wednesday, June 08, 2016 at 8:39 PM From: "Bruce Dubbs" <[email protected]> To: "BLFS Support List" <[email protected]> Subject: Re: [blfs-support] XML failed validation Cliff McDiarmid wrote: > Sent: Wednesday, June 08, 2016 at 6:37 PM > From: "Bruce Dubbs" <[email protected]> > To: "BLFS Support List" <[email protected]> > Subject: Re: [blfs-support] XML failed validation > Pierre Labastie wrote: >> On 08/06/2016 18:09, Cliff McDiarmid wrote: >>> Hi >>> I'm working my way through svn BLFS at present installing into a new LFS >>> system. Installing Plasma 5.6.2(with the hope of it starting). >>> Kwayland throws out these errors, but compiles: >>> -- Configuring done >>> -- Generating done >>> -- Build files have been written to: >>> /mnt/home/cliffy/Downloads/plasma/plasma-5.6.1/kwayland-5.6.1/build >>> Scanning dependencies of target KF5WaylandClient_automoc >>> [ 0%] Automatic moc for target KF5WaylandClient > >> [snip] > * >>> * WARNING: XML failed validation against built-in DTD >>> Is this a problem and should I stop? Checked the functioning of docbook >>> converting to HTML and works fine. >>> >>> thanks >>> >>> Cliff >> >> I have the same errors. I am not sure where wayland is used, so I cannot >> tell whether it works or not. But at least, packages dependent on kwayland >> seem to work. > >> These warnings may be due to missing: > >> -- The following OPTIONAL packages have been found: > >> * WaylandScanner , Executable that converts XML protocol files to C code >> , <http://wayland.freedesktop.org> > > >> Note that kwayland has been moved to kf5-5.22 and later. kf5-5.23 is >> expected on June 11th. We will be updating all of KDE then. > > Thanks > > WaylandScanner is part of Wayland-1.10.0 which I do have installed, I assume > that's what you think might be missing?
>I did follow up a bit. Yes, wayland-scanner is present. Looking at the >sources for that, they have a file, protocol/wayland.dtd, that defines >what is supposed to be in a protocol file. They define: ><!ELEMENT entry (description?)> >but the way it is being used in kwayland is ><!ELEMENT entry (description?,#PCDATA)> >It seems that there is code to translate wayland.dtd files to docbook xml >files, so it is a bit more than just changing the wayland dtd. >There are some other issues, but by making some changes to three xml >files, I was able to remove all the warnings. It does not really benefit >us though. >The problem may be that the wayland dtd for the current version (1.9.0) >has changed since the xml was written. >Bottom line is that it is an upstream problem, but does not affect us. Many thanks for your time and that explanation Bruce Cliff -- http://lists.linuxfromscratch.org/listinfo/blfs-support FAQ: http://www.linuxfromscratch.org/blfs/faq.html Unsubscribe: See the above information page
