[Mono-list] unable to compile schema
Atsushi Eno
atsushi@ximian.com
Sat, 28 Aug 2004 03:23:08 +0900
Hello,
Manuel V. Santos López wrote:
> Try changing the schemaLocation for a valid one.
>
> > <!-- include address constructs -->
> > <include
> > schemaLocation="http://www.example.com/schemas/address.xsd"/>
>
> I tried schemaLocation="address.xsd" after creating address.xml
> in the same directory of the first xsd file and it worked.
Well, Peter also agreed that address.xsd is compiled fine as a
standalone schema. The problem is, the including schema (the
first one in the previous post) should find IPO:Address complex
type. Right now I could not find the reason why, so am guessing
it is a bug in our System.Xml.Schema.
The reason why I _doubt_ is, because MS.NET also rejects that one
and it still fails under .NET 2.0 while I use their improved class
XmlSchemaSet.
I'll continue to look into this problem.
Thanks,
Atsushi Eno