Altova Mailing List Archives>Archive Index >comp.text.xml Archive Home >Recent entries >Thread Prev - Question about validating schema with xml file >Thread Next - Re: Question about validating schema with xml file Re: Question about validating schema with xml fileTo: NULL Date: 7/2/2008 2:17:00 PM jh3an wrote: > Please give me your advice! > > I made two files according to xml book, but when validating these two > files, > it gives me an error that I totally don't understand. Well you will have to tell us the exact error message if you want help on that. > <document xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" > xmlns="kool" xsi:schemaLocation="test.xsd"> schemaLocation takes pairs of namespaceURI schemaURI so you need xsi:schemaLocation="kool test.xsd" > <xsd:schema xmlns="kool" targetNamespace="kool" xmlns:xsd="http:// > www.w3.org/2001/XMLSchema"> Add elementFormDefault="qualified" to the xsd:schema element. -- Martin Honnen http://JavaScript.FAQTs.com/ | ||||||
| Company | Legal | Press | Partners | Careers | Sitemap | Contact Us | Altova Blog | Mobile | Full Site | |||
|
