Subject: | XSD loading fails : Found <simpleType> illegally combined with <complexType>. |
Hi,
I'm trying to load an XSD which was created using XMLSpy and validates/loads in other tools like Stylos Studio XML.
I'm getting the error;
Found <simpleType> illegally combined with <complexType>.
If you require more details let me know.
What is wrong here? My code (nothing special);
use strict;
use XML::SAX::ParserFactory;
use XML::Validator::Schema;
my $validator = XML::Validator::Schema->new(file => 'test.xsd', cache => 1);
My Perl;
root_mhs@localhost # /usr/local/bin/perl -v
This is perl, v5.8.0 built for sun4-solaris