Comments (3)
Do you have any update for this serious bug? I suppose GetElement should apply the same check on nil attribute as done for SetElement.
internal void SetElement(XName name, object value, bool addToExisting, XmlSchemaDatatype datatype, Type elementBaseType)
{
XElement untyped = GetUntyped();
CheckXsiNil(untyped);
...
private void CheckXsiNil(XElement parentElement)
{
XAttribute xAttribute = parentElement.Attributes(XName.Get("nil", "http://www.w3.org/2001/XMLSchema-instance")).FirstOrDefault();
if (xAttribute != null && xAttribute.Value == "true")
{
xAttribute.Remove();
}
}
from linqtoxsdcore.
@mamift Do you have some plan for this bug fix?
from linqtoxsdcore.
https://www.nuget.org/packages/LinqToXsdCore/3.4.3
https://www.nuget.org/packages/XObjectsCore/3.4.3
from linqtoxsdcore.
Related Issues (20)
- Streaming? HOT 2
- Codegen bugs HOT 1
- Duplicate enums are not generated HOT 6
- Modify the LinqToXsd program such that it will emit one xml namespace to one corresponding c# file. HOT 13
- Empty namespace is not mapped when generating config file HOT 1
- Null Reference Exception with ILinqToXsdTypeManager HOT 2
- The content model inheritance is broken for types derived by restriction.
- Composite content model code is not generated.
- Missing null check in a ToXTypedElement of XTypedServices.cs
- maxOccurs="unbounded", is not respected for elements in choice block
- Eager/deferred/lazy? HOT 1
- error CS1061: 'object' does not contain a definition for 'TypeDefinition' HOT 8
- Generated code doesn't compile if an element is named Content HOT 3
- LinqToXsd config -e file.xsd does not gather all sub-namespaces
- Integrate core xml.xsd into the LinqToXsdCore library
- No globa:: prefix for BuildWrapperDictionary
- Nice to have: Load and Parse overloads with LoadOptions
- Schema versioning?
- [regression in v3.4.3+] error CS0108: OneField of ParentType hides inherited member OneField of ChildType HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from linqtoxsdcore.