W3C home > Mailing lists > Public > www-validator@w3.org > July 2006

Re: namespace question

From: Jirka Kosek <jirka@kosek.cz>
Date: Mon, 31 Jul 2006 18:49:48 +0200
Message-ID: <44CE34AC.9080507@kosek.cz>
To: Siegfried Gipp <siegfried@rorkvell.de>
CC: www-validator@w3.org
Siegfried Gipp wrote:

> Hmm, as far as i know then a page like this does not validate at all with the 
> w3c validator. Or am i wrong?

Yes, but in the age of compound documents with elements from multiple 
namespaces DTDs and related machinery (including !DOCTYPE) is simply 
insufficient and obsolete.

>> This is of course supported by Relaxed, because it uses XML parser for
>> reading documents to validate.
> *grin* I'm using xsl (xalan-j) to _generate_ my pages, so they should be valid 
> out of the box. At least mostly. xml/xsl is indeed great.

Output of XSLT transformation doesn't have to be valid, it even doesn't 
have to be well-formed. XSLT only guarantee well-balanced output (you 
can generate document with multiple root elements which breaks 
well-formdness). If you want to be sure that output of transformation is 
valid, you must either validate generated documents or use XSLT 2.0 with 
schema aware XSLT processor and reference target schema from stylesheet. 
But here I probably diverted to much from the topic of this mailing 
list. Sorry for that.


   Jirka Kosek     e-mail: jirka@kosek.cz     http://www.kosek.cz
   Profesionální školení a poradenství v oblasti technologií XML.
      Podívejte se na náš nově spuštěný web http://DocBook.cz
        Podrobný přehled školení http://xmlguru.cz/skoleni/
                    Nejbližší termíny školení:
     ** XSLT 23.-26.10.2006 ** XML schémata 13.-15.11.2006 **
      ** DocBook 11.-13.12.2006 ** XSL-FO 11.-12.12.2006 **
   http://xmlguru.cz    Blog mostly about XML for English readers

Received on Monday, 31 July 2006 16:50:17 UTC

This archive was generated by hypermail 2.4.0 : Friday, 17 January 2020 22:58:57 UTC