![]() |
![]() | ![]() | ![]() | Altova Mailing List Archives>Archive Index >microsoft.public.xml Archive Home >Recent entries >Thread Prev - Re: validating XML with XmlValidatingReader against schema that use xs:include >Thread Next - Re: validating XML with XmlValidatingReader against schema that use xs:include Re: validating XML with XmlValidatingReader against schema that use xs:includeTo: NULL Date: 4/4/2005 10:56:00 AM Can you copy b.xsd to a different location and verify whether it loads? Is the location "http://some.place.here/schema/B.xsd" resolvable? Thanks, Priya <davidmcb@p...> wrote in message news:1112631106.582844.117750@z...... > Thanks, but still no joy. I'm starting to wonder if it's the way my > schema files are set up: > > the XML file looks like this: > > <?xml version='1.0' encoding='utf-8'?> > <config vend='lw' lwlid='100005' > xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" > xsi:noNamespaceSchemaLocation="http://some.place.here/schema/A.xsd"> > > A.xsd looks like this: > > <?xml version="1.0" encoding="ISO-8859-1" ?> > <xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema"> > <xs:include schemaLocation="http://some.place.here/schema/B.xsd"> > > B.xsd looks like this: > > <?xml version="1.0" encoding="ISO-8859-1" ?> > <xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema" > > As I said, if I copy everything from B.xsd and paste it into A.xsd and > drop the 'xs:include', then I'm golden and everything works great. But > as soon as I try to break out some types into B.xsd and use > 'xs:include' then I start getting "element is not declared" errors. > | ![]() | ![]() | ![]() |
| Company | Legal | Press | Partners | Careers | Sitemap | Contact Us | Altova Blog | |||||
|
