[xml/sgml-pkgs] merging w3c-dtd-xhtml and w3c-sml-lib: ten days to object or find issues

Nicholas Bamber nicholas at periapt.co.uk
Fri Apr 20 00:09:50 UTC 2012


Joey,
	Also what happens when you force through the installation of 
w3c-dtd-xhtml version 1.2-2 and w3c-sgml-lib? Does wdg-html-validator 
behave itself for you then?

On 20/04/12 00:51, Nicholas Bamber wrote:
> Hmm well the old vesion of w3c-dtd-xhtml provided w3c-dtd-xhtml. This
> one does not. Still I see it showing up as a Provides in PTS. I am not
> sure if something needs to be done in some mysterious Debian server to
> resolve that but the 1.2-2 version of w3c-sgml-lib does NOT have a
> Provides clause.
>
> Please could you send me one or more HTML files that you would accept as
> an objective test as whether wdg-html-validator is working and what you
> expect as an output.
>
> Also please feel free to do something in the bugs world to stop this
> version going into testing whilst I investigate.
>
>
>
> On 20/04/12 00:35, Joey Hess wrote:
>> Nicholas Bamber wrote:
>>> Please send me instructions for how it working fine and not
>>> afterwards because I tried to test it.
>>
>> w3c-sgml-lib provides/conflicts w3c-dtd-xhtml, and w3c-markup-validator
>> depends on both packages, so this happens:
>>
>> joey at wren:~>validate index.html
>> joey at wren:~>sudo apt-get install w3c-dtd-xhtml
>> Reading package lists... Done
>> Building dependency tree
>> Reading state information... Done
>> w3c-dtd-xhtml is already the newest version.
>> 0 upgraded, 0 newly installed, 0 to remove and 332 not upgraded.
>> joey at wren:~>sudo apt-get install w3c-sgml-lib
>> Reading package lists... Done
>> Building dependency tree
>> Reading state information... Done
>> The following packages will be REMOVED:
>> w3c-dtd-xhtml
>> The following NEW packages will be installed:
>> w3c-sgml-lib
>> 0 upgraded, 1 newly installed, 1 to remove and 332 not upgraded.
>> Need to get 616 kB of archives.
>> After this operation, 3,834 kB of additional disk space will be used.
>> Do you want to continue [Y/n]? y
>> Get:1 http://mirror.bytemark.co.uk/debian/ unstable/main w3c-sgml-lib
>> all 1.2-1 [616 kB]
>> Fetched 616 kB in 0s (7,302 kB/s)
>> dpkg: w3c-dtd-xhtml: dependency problems, but removing anyway as you
>> requested:
>> wdg-html-validator depends on w3c-dtd-xhtml.
>> (Reading database ... 154372 files and directories currently installed.)
>> Removing w3c-dtd-xhtml ...
>> Selecting previously unselected package w3c-sgml-lib.
>> (Reading database ... 154310 files and directories currently installed.)
>> Unpacking w3c-sgml-lib (from .../w3c-sgml-lib_1.2-1_all.deb) ...
>> Setting up w3c-sgml-lib (1.2-1) ...
>> [master c4e89ec] committing changes in /etc after apt run
>> Author: joey<joey at wren.kitenet.net>
>> 10 files changed, 804 insertions(+), 84 deletions(-)
>> create mode 100644 sgml/w3c-sgml-lib.cat
>> delete mode 100644 xml/w3c-dtd-xhtml.xml
>> rewrite xml/w3c-dtd-xhtml.xml.old (82%)
>> create mode 100644 xml/w3c-sgml-lib.xml
>> joey at wren:~>validate index.html
>> *** Errors validating index.html: ***
>> Error at line 2, character 53: cannot find
>> "REC-xhtml1-20020801/xhtml1-strict.dtd"; tried
>> "/usr/share/xml/xhtml/schema/dtd/1.0/REC-xhtml1-20020801/xhtml1-str
>> ict.dtd",
>> "/usr/local/share/sgml/REC-xhtml1-20020801/xhtml1-strict.dtd",
>> "/usr/share/sgml/REC-xhtml1-20020801/xhtml1-strict.dtd"
>> Error at line 2, character 53: DTD did not contain element declaration
>> for
>> document type name
>> Error at line 3, character 13: there is no attribute "XMLNS"
>> Error at line 3, character 43: element "HTML" undefined
>> Error at line 4, character 6: element "HEAD" undefined
>> Error at line 5, character 7: element "TITLE" undefined
>> Error at line 7, character 6: element "BODY" undefined
>> Error at line 8, character 3: element "P" undefined
>> Error at line 8, character 24: element "STRONG" undefined
>> zsh: exit 9 validate index.html
>> joey at wren:~>cat index.html
>> <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"
>> "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
>> <html xmlns="http://www.w3.org/1999/xhtml">
>> <head>
>> <title>ikiwiki</title>
>> </head>
>> <body>
>> <p>Ikiwiki is a<strong>wiki compiler</strong>.</p>
>> </body>
>> </html>
>>
>




More information about the debian-xml-sgml-pkgs mailing list