tagged [xsd]

How to convert XSD maxOccurs="unbounded", minOccurs="0" to OpenAPI?

How to convert XSD maxOccurs="unbounded", minOccurs="0" to OpenAPI? ```

10 Sep at 07:23

Access xml using Linq when xsd is available

Access xml using Linq when xsd is available I have an xml file containing a lot of data. The structure of the file derives from several formats I have the xsd files for. They all merge to the schema t...

22 May at 15:6

Any tools to generate an XSD schema from an XML instance document?

Any tools to generate an XSD schema from an XML instance document? I am looking for a tool which will take an XML instance document and output a corresponding XSD schema. I certainly recognize that th...

13 Jan at 08:29

XML Schema minOccurs / maxOccurs default values

XML Schema minOccurs / maxOccurs default values I'm wondering how the XML Schema specification handles these cases: No maxOccurs given -> Is this the cardinality [1..1]? I suppose this is simply inval...

28 Jan at 07:22

Using Notepad++ to validate XML against an XSD

Using Notepad++ to validate XML against an XSD Can someone explain how to use Notepad++ to validate an xml file against an xsd. There are no options in the "XML Tools" plugin dropdown that provides fo...

16 Jun at 13:18

Convert XSD into SQL relational tables

Convert XSD into SQL relational tables Is there something available that could help me convert a XSD into SQL relational tables? The XSD is rather big (in my world anyway) and I could save time and bo...

31 Dec at 16:41

Generate Java classes from .XSD files...?

Generate Java classes from .XSD files...? I have a gigantic QuickBooks SDK .XSD schema file which defines XML requests/responses that I can send/receive from QuickBooks. I'd like to be able to easily ...

26 Mar at 16:14

How can I create database tables from XSD files?

How can I create database tables from XSD files? I have a set of XSDs from which I generate data access classes, stored procedures and more. What I don't have is a way to generate database table from ...

23 May at 11:53

Validate an XSD Schema?

Validate an XSD Schema? I'm writing an XML schema (an XSD) to describe the format our partners should send us data in. And I'm having a hard time finding a tool that can validate the XSD schema file t...

6 Aug at 13:42

can't validate xml schema

can't validate xml schema We use ServiceStack.NET to build web service and XSD is generated automatically from ServiceStack.NET. The XSD contains two imports: I use many different xml validators to va...

29 Oct at 13:57

How to make an element in XML schema optional?

How to make an element in XML schema optional? So I got this XML schema: ```

11 Feb at 20:26

how to customize the xsd that axis2 generates

how to customize the xsd that axis2 generates I am following the "web service from pojo"[1] bottom-up guide in axis2 documentations, but the wsdl that is generated is not good. Specifically, the xsd s...

2 Dec at 08:38

Why did changing my target framework from ".NET Framework 4 Client Profile" to ".NET framework 4" give me warning messages?

Why did changing my target framework from ".NET Framework 4 Client Profile" to ".NET framework 4" give me warning messages? The line: was added to my App.config file and now i get the warning messages...

20 Jun at 09:12

Xml validation using XSD schema

Xml validation using XSD schema The following code helps me validate an XML file with an XSD schema. ``` XmlReaderSettings settings = new XmlReaderSettings(); settings.Schemas.Add(null, xsdFilePath); ...

14 Nov at 19:2

XML validation with Schematron/XSD in C#

XML validation with Schematron/XSD in C# I've been looking around for at a way to make some more advanced business rule validation of XML documents. So far Schematron seems to be able to do, what I ne...

23 May at 09:41

Fix: The Global element 'configuration' has already been declared

Fix: The Global element 'configuration' has already been declared I used the second solution of [How to resolve "Could not find schema information for the element/attribute "?](https://stackoverflow.c...

23 May at 11:55

Prevent DebuggerStepThroughAttribute from applying to my non-xsd-generated partial class?

Prevent DebuggerStepThroughAttribute from applying to my non-xsd-generated partial class? I used the xsd.exe tool to generate a class based on my xml schema. It created a public partial class with Deb...

8 Jul at 18:58

.NET, Why must I use *Specified property to force serialization? Is there a way to not do this?

.NET, Why must I use *Specified property to force serialization? Is there a way to not do this? I am using xml-serialization in my project to serialize and deserialize objects based on an xml schema. ...

15 Jul at 19:30

Nullable value with xsd.exe generated class

Nullable value with xsd.exe generated class I have been using xsd.exe to generate a class for deserializing XML into. I have decimal value in the source xsd that is not required: The resulting class f...

16 Sep at 15:41

XSD.exe and "Circular Group references"

XSD.exe and "Circular Group references" I am attempting to build some classes so that I can deserialise an XML file created by a third party application. Luckily the developer of the 3rd party applica...

5 Mar at 17:58

Validating an XML against referenced XSD in C#

Validating an XML against referenced XSD in C# I have an XML file with a specified schema location such as this: I want to validate in C#. Visual Studio, when I open the file, validates it against the...

10 Apr at 17:41

C# NLog; Cannot find NLog.xsd file

C# NLog; Cannot find NLog.xsd file Just for the case that somebody produces one day the same error. In the starting section of the NLog.config file Visual Studio tells me (with a warning) that it cann...

2 Mar at 08:23

Acord Standard for Insurance. Has anybody dealt with this mess?

Acord Standard for Insurance. Has anybody dealt with this mess? We need to implement a WCF Webservice using the [ACORD Standard](http://www.acord.org/standards/downloads/Pages/PCSSpecsPublic.aspx). Ho...

12 Jul at 00:2

Generate classes from XML : xsd.exe not found

Generate classes from XML : xsd.exe not found I would like to generate classes from an XML file. I tried using the command prompt but the xsd function cannot be found, I got this message : > 'xsd' is ...

15 Nov at 11:3

Trouble with XML Deserialization into XSD generated classes

Trouble with XML Deserialization into XSD generated classes I have a rather detailed xml file. Below is the top level nodes (I have included the ellipse as the lower level nodes are all well formed an...

14 Sep at 01:26