Wrox Programmer Forums

Need to download code?

View our list of code downloads.

Go Back   Wrox Programmer Forums > XML > XML
Password Reminder
Register
Register | FAQ | Members List | Calendar | 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 tens of thousands of software programmers and website developers including Wrox book authors and readers. As a guest, you can read any forum posting. By joining today you can post your own programming questions, respond to other developersí questions, and eliminate the ads that are displayed to guests. Registration is fast, simple and absolutely free .
DRM-free e-books 300x50
Reply
 
Thread Tools Display Modes
  #1 (permalink)  
Old January 3rd, 2008, 07: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
Reply With Quote
  #2 (permalink)  
Old January 3rd, 2008, 08:05 AM
samjudson's Avatar
Friend of Wrox
Points: 8,352, Level: 39
Points: 8,352, Level: 39 Points: 8,352, Level: 39 Points: 8,352, Level: 39
Activity: 35%
Activity: 35% Activity: 35% Activity: 35%
 
Join Date: Aug 2007
Location: Newcastle, , United Kingdom.
Posts: 2,072
Thanks: 1
Thanked 178 Times in 177 Posts
Default

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


/- Sam Judson : Wrox Technical Editor -/
Reply With Quote
  #3 (permalink)  
Old January 3rd, 2008, 03: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
Reply With Quote
Reply


Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Trackbacks are Off
Pingbacks are On
Refbacks are Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
[xslt 2.0] Discrepancy between Altova and Saxon-B luchm XSLT 3 December 4th, 2008 10:19 AM
XMLSpy: copy data from excel, paste in XMLSpy 2004 xmler XML 1 November 26th, 2008 02: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



All times are GMT -4. The time now is 06:02 AM.


Powered by vBulletin® Version 3.7.0
Copyright ©2000 - 2014, Jelsoft Enterprises Ltd.
© 2013 John Wiley & Sons, Inc.