W3C home > Mailing lists > Public > public-qt-comments@w3.org > May 2006

RE: http://www.w3.org/1999/XSL/Transform has no DTD anymore

From: Nestor Urquiza <nestoru@yahoo.com>
Date: Wed, 3 May 2006 15:17:52 -0700 (PDT)
Message-ID: <20060503221752.97972.qmail@web50902.mail.yahoo.com>
To: Michael Kay <mhk@mhk.me.uk>, public-qt-comments@w3.org

Hello Michael,

I thought there was a DTD there because the xmlspy
editor stopped suddenly from validating  "Unable to
locate a reference to a supported schema kind(DTD,
DCD,W3C Schema,XML-Data, BizTalk) within this document
instance" because in fact it was trying to pull
something from the url and it found nothing useful
there.

I remember for some reason this "validation" was
working before (maybe xmlspy was configured to pull
the internal one it comes with). So before the
document was "validated" using:

<xsl:stylesheet version="1.0"
xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
xmlns:ss="urn:schemas-microsoft-com:office:spreadsheet"
exclude-result-prefixes="ss">

Now in order to be validated I have to use a local
copy of a DTD:
<!DOCTYPE xsl:stylesheet SYSTEM "C:\Program
Files\Altova\XMLSPY2004\Schemas\xsl\def_xslt.dtd">
<xsl:stylesheet version="1.0"
xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
xmlns:ss="urn:schemas-microsoft-com:office:spreadsheet"
exclude-result-prefixes="ss">

You are right about the fact that the DTD allowed
"simple amount of structural checking" and of course I
agree it is not as big deal as I thought at the very
beginning since as you already said xalan or saxon in
my case will take care of it. In any case the
"validation" I was looking for was not validating any
other namespace different from the xsl one.

Thanks a lot,
Nestor

--- Michael Kay <mhk@mhk.me.uk> wrote:

> > 
> > Not sure if this is the right list but I found out
> that the 
> > url that specified the DTD for XSLT:
> > http://www.w3.org/1999/XSL/Transform is not longer
> hosted  
> > there. Now there is hosted an xml referring to a
> schema to be 
> > comming someday.
> 
> I don't think there ever has been a DTD at this
> address. It's a namespace
> URI, and in principle namespace URIs don't have to
> point to anything, though
> W3C has adopted a convention of putting something at
> the location to tell
> you where to find a definition of the namespace, in
> the form of a schema or
> otherwise.
> 
> Further, it's not really possible to do any very
> useful validation of an
> XSLT stylesheet with a DTD or schema. You can do a
> simple amount of
> structural checking, but the way to validate a
> stylesheet is to present it
> to an XSLT processor.
> 
> Michael Kay
> (personal response)
> 
> 


__________________________________________________
Do You Yahoo!?
Tired of spam?  Yahoo! Mail has the best spam protection around 
http://mail.yahoo.com 
Received on Wednesday, 3 May 2006 22:17:55 UTC

This archive was generated by hypermail 2.4.0 : Friday, 17 January 2020 16:57:12 UTC