W3C home > Mailing lists > Public > xmlschema-dev@w3.org > August 2010

Re: Newbie question

From: David <dfkettle@gmail.com>
Date: Wed, 18 Aug 2010 08:20:13 -0400
Message-ID: <AANLkTi=FewM20V6+UdOka-GV9oVtv2zRVADWthHjFeSS@mail.gmail.com>
To: "Henry S. Thompson" <ht@inf.ed.ac.uk>
Cc: xmlschema-dev@w3.org
I tried it in IE 6.0.29 and got the same error, although the message
was a little different.

"The XML page cannot be displayed
Cannot view XML input using XSL style sheet. Please correct the error
and then click the Refresh button, or try again later.
--------------------------------------------------------------------------------
The stylesheet does not contain a document element. The stylesheet may
be empty, or it may not be a well-formed XML documen..."

So I looked at the page source, and here's what I saw:

<?xml version='1.0'?>
<?xml-stylesheet type='text/xsl' href='../style/xsv.xsl'?>
<xsv xmlns="http://www.w3.org/2000/05/xsv" instanceAssessed="false"
     realName="D:\Data\TGMS Project\OLGCDM.xsd"
     schemaDocs="file:/usr/local/XSV/xsvlog/tmpfwsIU2uploaded" schemaErrors="0"
     target="[standalone schema assessment]"
     version="XSV 3.1-1 of 2007/12/11 16:20:05">
  <schemaDocAttempt URI="file:///usr/local/XSV/xsvlog/tmpfwsIU2uploaded"
                    outcome="success" source="command line"/>
</xsv>

Looks like my XSD file is OK, but the returned XML can't be displayed
by the browser.  Any idea why? It isn't missing, is it?

David.

On Wed, Aug 18, 2010 at 7:04 AM, Henry S. Thompson <ht@inf.ed.ac.uk> wrote:
> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: SHA1
>
> David writes:
>
>> I was trying to use your validation service, but I just get the
>> following error message:
>>
>> Error loading stylesheet: A network error occured loading an XSLT stylesheet:
>> http://www.w3.org/2000/06/style/xsv.xsl
>
> Can't reproduce.  What is the URI in the address bar when you see this
> message, and what browser are you using?
>
> ht
> - --
>       Henry S. Thompson, School of Informatics, University of Edinburgh
>      10 Crichton Street, Edinburgh EH8 9AB, SCOTLAND -- (44) 131 650-4440
>                Fax: (44) 131 651-1426, e-mail: ht@inf.ed.ac.uk
>                       URL: http://www.ltg.ed.ac.uk/~ht/
>  [mail from me _always_ has a .sig like this -- mail without it is forged spam]
> -----BEGIN PGP SIGNATURE-----
> Version: GnuPG v1.2.6 (GNU/Linux)
>
> iD8DBQFMa75OkjnJixAXWBoRAqfwAJ4saNtHSy49NWeMLSFpuo5xuCzD5gCffu3U
> 5kKRRJdPgqfaM4LPr39K6sQ=
> =bmWY
> -----END PGP SIGNATURE-----
>
Received on Wednesday, 18 August 2010 12:20:41 UTC

This archive was generated by hypermail 2.4.0 : Friday, 17 January 2020 23:15:57 UTC