Support for XSD nillable and xsi:nil="true" #60
Build #20240119.1 had test failures
Details
- Failed: 14 (12.28%)
- Passed: 93 (81.58%)
- Other: 7 (6.14%)
- Total: 114
Annotations
Check failure on line 29798 in Build log
azure-pipelines / LinqToXsdCore (Build, test for PR)
Build log #L29798
Error: The process 'C:\hostedtoolcache\windows\dotnet\dotnet.exe' failed with exit code 1
Check failure on line 29803 in Build log
azure-pipelines / LinqToXsdCore (Build, test for PR)
Build log #L29803
Dotnet command failed with non-zero exit code on the following projects : [ 'D:\\a\\1\\s\\LinqToXsd-TestingSuite.slnf' ]
azure-pipelines / LinqToXsdCore (Build, test for PR)
Xml.Schema.Linq.Tests.CodeGenerationTests.NoVoidTypeOfExpressionsInGeneratedCode("SBML")
Xml.Schema.Linq.LinqToXsdException : C:\SBML\sbml.level-2.version-5.release-1.xsd failed to generated code.
----> System.Xml.Schema.XmlSchemaException : The 'http://www.w3.org/1998/Math/MathML:math' element is not declared.
Raw output
at Xml.Schema.Linq.Tests.CodeGenerationTests.CheckTypeOfVoidExpressionsInGeneratedCode(IEnumerable`1 xsdsToProcess, Int32 randomSubset) in D:\a\1\s\XObjectsTests\CodeGenerationTests.cs:line 156
--XmlSchemaException
at System.Xml.Schema.XmlSchemaSet.InternalValidationCallback(Object sender, ValidationEventArgs e)
at System.Xml.Schema.BaseProcessor.SendValidationEvent(XmlSchemaException e, XmlSeverityType severity)
at System.Xml.Schema.BaseProcessor.SendValidationEvent(XmlSchemaException e)
at System.Xml.Schema.Compiler.CompileElement(XmlSchemaElement xe)
at System.Xml.Schema.Compiler.CompileParticleElements(XmlSchemaComplexType complexType, XmlSchemaParticle particle)
at System.Xml.Schema.Compiler.CompileParticleElements(XmlSchemaComplexType complexType, XmlSchemaParticle particle)
at System.Xml.Schema.Compiler.CompileComplexTypeElements(XmlSchemaComplexType complexType)
at System.Xml.Schema.Compiler.Compile()
at System.Xml.Schema.Compiler.Execute(XmlSchemaSet schemaSet, SchemaInfo schemaCompiledInfo)
at System.Xml.Schema.XmlSchemaSet.Compile()
at Xml.Schema.Linq.Extensions.GeneralExtensionMethods.ToXmlSchemaSet(XmlReader reader, XmlResolver resolver) in D:\a\1\s\XObjectsCore\Extensions\GeneralExtensionMethods.cs:line 68
at Xml.Schema.Linq.Tests.Utilities.GenerateSyntaxTree(IFileInfo xsdFile, IMockFileDataAccessor mfs) in D:\a\1\s\XObjectsTests\Utilities.cs:line 344
at Xml.Schema.Linq.Tests.Utilities.GenerateSyntaxTreeOrError(IFileInfo xsdFile, IMockFileDataAccessor mfs) in D:\a\1\s\XObjectsTests\Utilities.cs:line 354
azure-pipelines / LinqToXsdCore (Build, test for PR)
Xml.Schema.Linq.Tests.CodeGenerationTests.NoVoidTypeOfExpressionsInGeneratedCode("OpenPackagingConventions-XMLSchema")
Xml.Schema.Linq.LinqToXsdException : C:\OpenPackagingConventions-XMLSchema\opc-coreProperties.xsd failed to generated code.
----> System.Xml.Schema.XmlSchemaException : The namespace attribute 'http://purl.org/dc/elements/1.1/' of an import should be the same value as the targetNamespace 'http://schemas.microsoft.com/data/udc' of the imported schema.
Raw output
at Xml.Schema.Linq.Tests.CodeGenerationTests.CheckTypeOfVoidExpressionsInGeneratedCode(IEnumerable`1 xsdsToProcess, Int32 randomSubset) in D:\a\1\s\XObjectsTests\CodeGenerationTests.cs:line 156
--XmlSchemaException
at System.Xml.Schema.XmlSchemaSet.InternalValidationCallback(Object sender, ValidationEventArgs e)
at System.Xml.Schema.Preprocessor.Preprocess(XmlSchema schema, String targetNamespace, ArrayList imports)
at System.Xml.Schema.Preprocessor.Execute(XmlSchema schema, String targetNamespace, Boolean loadExternals)
at System.Xml.Schema.XmlSchemaSet.PreprocessSchema(XmlSchema& schema, String targetNamespace)
at System.Xml.Schema.XmlSchemaSet.Add(String targetNamespace, XmlSchema schema)
at System.Xml.Schema.XmlSchemaSet.Add(String targetNamespace, XmlReader schemaDocument)
at Xml.Schema.Linq.Extensions.GeneralExtensionMethods.ToXmlSchemaSet(XmlReader reader, XmlResolver resolver) in D:\a\1\s\XObjectsCore\Extensions\GeneralExtensionMethods.cs:line 68
at Xml.Schema.Linq.Tests.Utilities.GenerateSyntaxTree(IFileInfo xsdFile, IMockFileDataAccessor mfs) in D:\a\1\s\XObjectsTests\Utilities.cs:line 344
at Xml.Schema.Linq.Tests.Utilities.GenerateSyntaxTreeOrError(IFileInfo xsdFile, IMockFileDataAccessor mfs) in D:\a\1\s\XObjectsTests\Utilities.cs:line 354
azure-pipelines / LinqToXsdCore (Build, test for PR)
Xml.Schema.Linq.Tests.CodeGenerationTests.NoVoidTypeOfExpressionsInGeneratedCode("LegalRuleML")
Xml.Schema.Linq.LinqToXsdException : C:\LegalRuleML\basic.lrml-basic.xsd failed to generated code.
----> System.Xml.Schema.XmlSchemaException : The global element 'http://docs.oasis-open.org/legalruleml/ns/v1.0/:LegalRuleML' has already been declared.
Raw output
at Xml.Schema.Linq.Tests.CodeGenerationTests.CheckTypeOfVoidExpressionsInGeneratedCode(IEnumerable`1 xsdsToProcess, Int32 randomSubset) in D:\a\1\s\XObjectsTests\CodeGenerationTests.cs:line 156
at Xml.Schema.Linq.Tests.CodeGenerationTests.NoVoidTypeOfExpressionsInGeneratedCode(String assemblyName) in D:\a\1\s\XObjectsTests\CodeGenerationTests.cs:line 106
--XmlSchemaException
at System.Xml.Schema.XmlSchemaSet.InternalValidationCallback(Object sender, ValidationEventArgs e)
at System.Xml.Schema.Compiler.Prepare(XmlSchema schema, Boolean cleanup)
at System.Xml.Schema.XmlSchemaSet.Compile()
at Xml.Schema.Linq.Extensions.GeneralExtensionMethods.ToXmlSchemaSet(XmlReader reader, XmlResolver resolver) in D:\a\1\s\XObjectsCore\Extensions\GeneralExtensionMethods.cs:line 68
at Xml.Schema.Linq.Tests.Utilities.GenerateSyntaxTree(IFileInfo xsdFile, IMockFileDataAccessor mfs) in D:\a\1\s\XObjectsTests\Utilities.cs:line 344
at Xml.Schema.Linq.Tests.Utilities.GenerateSyntaxTreeOrError(IFileInfo xsdFile, IMockFileDataAccessor mfs) in D:\a\1\s\XObjectsTests\Utilities.cs:line 354
azure-pipelines / LinqToXsdCore (Build, test for PR)
Xml.Schema.Linq.Tests.CodeGenerationTests.NoVoidTypeOfExpressionsInGeneratedCode("XSD")
Xml.Schema.Linq.LinqToXsdException : C:\XSD\W3C XMLSchema v1_1.xsd failed to generated code.
----> System.Xml.Schema.XmlSchemaException : Invalid particle derivation by restriction - 'Derived element 'http://www.w3.org/2001/XMLSchema:any' is not a valid restriction of base element 'http://www.w3.org/2001/XMLSchema:sequence' according to Elt:Elt -- NameAndTypeOK.'.
Raw output
at Xml.Schema.Linq.Tests.CodeGenerationTests.CheckTypeOfVoidExpressionsInGeneratedCode(IEnumerable`1 xsdsToProcess, Int32 randomSubset) in D:\a\1\s\XObjectsTests\CodeGenerationTests.cs:line 156
--XmlSchemaException
at System.Xml.Schema.XmlSchemaSet.InternalValidationCallback(Object sender, ValidationEventArgs e)
at System.Xml.Schema.Compiler.Compile()
at System.Xml.Schema.Compiler.Execute(XmlSchemaSet schemaSet, SchemaInfo schemaCompiledInfo)
at System.Xml.Schema.XmlSchemaSet.Compile()
at Xml.Schema.Linq.Extensions.GeneralExtensionMethods.ToXmlSchemaSet(XmlReader reader, XmlResolver resolver) in D:\a\1\s\XObjectsCore\Extensions\GeneralExtensionMethods.cs:line 68
at Xml.Schema.Linq.Tests.Utilities.GenerateSyntaxTree(IFileInfo xsdFile, IMockFileDataAccessor mfs) in D:\a\1\s\XObjectsTests\Utilities.cs:line 344
at Xml.Schema.Linq.Tests.Utilities.GenerateSyntaxTreeOrError(IFileInfo xsdFile, IMockFileDataAccessor mfs) in D:\a\1\s\XObjectsTests\Utilities.cs:line 354