BradC Thanks so much Simon! Adhar Jain We are getting an error while we do not send anything to the date field saying invalid date value to XSD:Date. Could you please tell me more about this fieldsToNull property on how to set it in C. We are using Partner API to update policy customer object that has date value which may not have a value. Similarly we have to pass 0 to integer values for it to pass.
Would really appreciate if can get something on this. You need to sign in to do that. Need an account? Sign Up. Have an account? Sign In. Asked 4 years, 8 months ago. Active 12 months ago. Viewed 9k times.
Improve this question. JacquesB JacquesB Add a comment. Active Oldest Votes. Improve this answer. Michael Kay Michael Kay 3, 1 1 gold badge 13 13 silver badges 13 13 bronze badges. But I can see how xsd:nil makes sense in a certain way of thinking, since you can have data types orthogonal to the structure of the XML.
But in general, if you want to model "partial information", then I think you usually want to record something about it, e. Invent your own vocabulary to fit the semantics of your particular data. MichaelKay Look at my answer softwareengineering. The XML design should be based on the data model alone, not on the quirks of the tools you have chosen to manipulate the XML. Jens 7, 7 7 gold badges 51 51 silver badges 69 69 bronze badges.
Ahmad Hindash Ahmad Hindash 1, 13 13 silver badges 15 15 bronze badges. Following XSD only allows empty, or any value between -1 and I am extracting only the required stuff from a very large XSD so some of these might look like overkill.
Menol Menol 1, 19 19 silver badges 33 33 bronze badges. Seems like both of the links are not working. Page might have moved most likely. Sign up or log in Sign up using Google. Sign up using Facebook. Sign up using Email and Password. Post as a guest Name. Email Required, but never shown. The Overflow Blog. Podcast Making Agile work for data science. Stack Gives Back Featured on Meta. New post summary designs on greatest hits now, everywhere else eventually.
Related 5.
0コメント