[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: merging w3c-dtd-xhtml and w3c-sml-lib: ten days to object or find issues



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@wren:~>validate index.html
joey@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@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@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@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@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>

-- 
see shy jo

Attachment: signature.asc
Description: Digital signature


Reply to: