Wrox Programmer Forums
Go Back   Wrox Programmer Forums > XML > XML
| Search | Today's Posts | Mark Forums Read
XML General XML discussions.
Welcome to the p2p.wrox.com Forums.

You are currently viewing the XML section of the Wrox Programmer to Programmer discussions. This is a community of software programmers and website developers including Wrox book authors and readers. New member registration was closed in 2019. New posts were shut off and the site was archived into this static format as of October 1, 2020. If you require technical support for a Wrox book please contact http://hub.wiley.com
  #1 (permalink)  
Old January 3rd, 2008, 08:50 AM
Authorized User
 
Join Date: Jun 2003
Location: Stockton, CA, USA.
Posts: 27
Thanks: 0
Thanked 0 Times in 0 Posts
Default Altova XMLSpy Can't locate schema.

XMLSpy is giving me the following error message:

"unable to locate a reference to a supported schema type (DTD, W3C Schema) within this document instance."

One second everything was fine. Next second, when I added "<?xml-stylesheet?>" at the top, it stopped acknowledging the schema document. Following is the documentation at the top of my .xml document:

<?xml version="1.0"?>
<?xml-stylesheet type="text/xsl" href="catalogItem.xsl"?>
<catalogItem xmlns="http:/www.fineHomemadeSoap.com/Catalog"
    xmlns:xsi="http:/www.w3.org/2001/XMLSchema-instance"
    xsi:schemaLocation="
        http:/www.fineHomemadeSoap.com/Catalog
        CatalogItem.xsd"
    >

The file "CatalogItem.xsd" is in the same directory as CatalogItem.xml. Also is CatalogItem.xsl.

Since the problem started when I added the second line at top, I attempted to reproduce the original validation by deleting it, to make the document same as before. XMLSpy didn't care. It still gave me the same error.




Daniel Hutchins
Stockton, CA
http://www.finehomemadesoap.com
__________________
Daniel Hutchins
Stockton, CA
http://www.finehomemadesoap.com
  #2 (permalink)  
Old January 3rd, 2008, 09:05 AM
samjudson's Avatar
Friend of Wrox
Points: 8,687, Level: 40
Points: 8,687, Level: 40 Points: 8,687, Level: 40 Points: 8,687, Level: 40
Activity: 0%
Activity: 0% Activity: 0% Activity: 0%
 
Join Date: Aug 2007
Location: Newcastle, , United Kingdom.
Posts: 2,128
Thanks: 1
Thanked 189 Times in 188 Posts
Default

Your http:// appear to be missing the second /?


/- Sam Judson : Wrox Technical Editor -/
  #3 (permalink)  
Old January 3rd, 2008, 04:27 PM
Authorized User
 
Join Date: Jun 2003
Location: Stockton, CA, USA.
Posts: 27
Thanks: 0
Thanked 0 Times in 0 Posts
Default

samjudson:

Thank you, so much.

Everything back to normal.

I will be conducting a major senate judiciary committee investigation as to what happened to "//."

It was in there at the beginning, and somewhere a software must've escaped the combination of characters.

I was ready to turn myself in, to the state mental authorities, to receive electric shock treatments, to "re-boot" my brain.

Daniel Hutchins
Stockton, CA
http://www.finehomemadesoap.com


Similar Threads
Thread Thread Starter Forum Replies Last Post
[xslt 2.0] Discrepancy between Altova and Saxon-B luchm XSLT 3 December 4th, 2008 11:19 AM
XMLSpy: copy data from excel, paste in XMLSpy 2004 xmler XML 1 November 26th, 2008 03:33 AM
Error in Xmlspy when running xslt script jastao XSLT 2 June 9th, 2008 04:11 PM
XSLT process XML problem in XMLSpy xinr XSLT 2 September 14th, 2006 11:53 AM
Altova StyleVision 2006 NEO1976 XML 0 August 16th, 2006 08:10 AM





Powered by vBulletin®
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.
Copyright (c) 2020 John Wiley & Sons, Inc.