- From: Michael Kay <mhk@mhk.me.uk>
- Date: Wed, 3 May 2006 23:29:17 +0100
- To: "'Nestor Urquiza'" <nestoru@yahoo.com>, <public-qt-comments@w3.org>
It sounds as if your problems are specific to the XMLSpy product and I suggest you contact Altova for assistance. Regards, Michael Kay (personal response) > -----Original Message----- > From: Nestor Urquiza [mailto:nestoru@yahoo.com] > Sent: 03 May 2006 23:18 > To: Michael Kay; public-qt-comments@w3.org > Subject: RE: http://www.w3.org/1999/XSL/Transform has no DTD anymore > > 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:30:36 UTC