After some long reading on Visual Studio 2005 Xsd Intellisense I discovered VS2005 could not compile the Aspose.Pdf.xsd file (XML Schema of Aspose.PDF|Aspose.PDF for .NET), it contains what VS2005 considers to be errors:
- PdfType contains an attribute “xml:lang” which is an invalid QName
- SectionType contains an attribute StartingPageNumber which is typed as a negativeInteger domain, but has a default value of “1”
I fixed my Xsd by deleting the xsl:lang attribute, which doesn’t make sense in its context and I converted the StartingPageNumber domain to just integer.