XML Programming
 
Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
User Name:
Password:
Remember me
Go Back   Dev Shed ForumsProgramming Languages - MoreXML Programming

Reply
Add This Thread To:
  Del.icio.us   Digg   Google   Spurl   Blink   Furl   Simpy   Y! MyWeb 
Thread Tools Search this Thread Rate Thread Display Modes
 
Unread Dev Shed Forums Sponsor:
Be the architects of evolution and help create the mobile internet future. It’s your move---enter to win here!
  #1  
Old December 5th, 2002, 06:34 AM
pixeljunkie pixeljunkie is offline
Contributing User
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Feb 2002
Posts: 61 pixeljunkie User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 7
Angry small problem with the XML - XSD relationship

In the XML below there is an error in the first 5 lines. I have tried everything and still it will not read the XSD file which i need to validate along with the dt:dt= restriction. If someone has an idea of what I have done wrong can you let me know. Thanking in advance.

<?xml version="1.0"?>
<?xml-stylesheet type="text/xsl" href="list1.xsl"?>
<!-- James Walton, Asssignment 2 -->
<listing
xmlns:dt="urn:schemas-microsoft-com:datatypes"
xsi:noNamespaceSchemaLocation="list1.xsd">

<property region="CEN">
<type>T</type>
<add>Green Park</add>
<town>Strode</town>
<gar>N</gar>
<bed>2</bed>
<sole>N</sole>
<dreg dt:dt="date">5-Sept-97</dreg>
<sold>N</sold>
<price dt:dt="number">£44,950.00</price>
</property>
</listing>
__________________
pixeljunkie

Reply With Quote
  #2  
Old December 5th, 2002, 07:28 AM
pixeljunkie pixeljunkie is offline
Contributing User
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Feb 2002
Posts: 61 pixeljunkie User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 7
Just in addition to the above. This is the error that I get on screen:

Reference to undeclared namespace prefix: 'xsi'. Line 6, Position 44

xsi:noNamespaceSchemaLocation="list1.xsd">

Reply With Quote
Reply

Viewing: Dev Shed ForumsProgramming Languages - MoreXML Programming > small problem with the XML - XSD relationship


Thread Tools  Search this Thread 
Search this Thread:

Advanced Search
Display Modes  Rate This Thread 
Rate This Thread:


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

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
View Your Warnings | New Posts | Latest News | Latest Threads | Shoutbox
Forum Jump


Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
  
 





© 2003-2008 by Developer Shed. All rights reserved. DS Cluster 6 hosted by Hostway