Wrox Programmer Forums
Go Back   Wrox Programmer Forums > XML > XML
|
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
 
Old August 28th, 2004, 07:34 AM
Authorized User
 
Join Date: Mar 2004
Posts: 61
Thanks: 0
Thanked 0 Times in 0 Posts
Default What's the use of XML Schema?!

So, I made an XML document and its structure as XML Schema in a separate .xsd file, presuming they are correct, as I'm a complete beginner with XML. They both are displayed without errors on IE anyway.

I don't see the point of the XML Schema! Even if I purposefully change it so the data in XML won't conform with the Schema, I don't get any error and the data is correctly displayed on IE...

Janis

 
Old August 28th, 2004, 10:43 AM
Friend of Wrox
 
Join Date: Jun 2003
Posts: 150
Thanks: 0
Thanked 0 Times in 0 Posts
Default

As you may have noticed, I'm new to this too. However, I know that IE doesn't validate your xml doc against an xsd. You have to do a validation manually.

This one seemed perfect for my purpose:

http://www.microsoft.com/downloads/d...displaylang=en

After having installed the downloaded inf-files, you should be able to ask for a validation by right-clicking in IE and choose Validate. But it doesn't seem to work for me. Though, I've seen it mentioned several places and with no complaints. So I guess it's me or my system. You should give it a try.

Instead I use Altova's XMLSpy Home (free) Ed. It's a bit overkill I think but serves to fullfill my needs at this level of XML-skills. You may find it searching for Altova.
 
Old August 29th, 2004, 05:31 AM
Authorized User
 
Join Date: Mar 2004
Posts: 61
Thanks: 0
Thanked 0 Times in 0 Posts
Default

Thanks for the reply!

I didn't try the Microsoft one, but got Altova. I had already found it before because w3schools suggests it, only I didn't know there is a free version too.
So I installed Altova's XML Spy and now I can validate my XML. Currently it cannot even validate my XML Schema alone... but that's a different story. :)

Janis






Similar Threads
Thread Thread Starter Forum Replies Last Post
Updating an XML Schema johnnycorpse ASP.NET 1.0 and 1.1 Professional 0 April 5th, 2007 11:18 AM
XML Schema Issue rkrmck.1 XML 3 April 5th, 2007 02:13 AM
Validating XML Schema lmadhavi XML 0 November 18th, 2004 06:58 AM
xml schema help allang XML 0 August 19th, 2004 09:58 PM
XML, XML Schema, JavaScript, ASP cyberjames2003 XML 0 June 4th, 2003 04:49 AM





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