Questions tagged as 'xsd'

0
answers

Separate constraint generation for element and its attribute - XSD

Good morning! I have the following element in an XML: <estcivil unestavel="S">C</estcivil> It turns out that my attribute can only receive "S" or "N" values, but the element has other value constraints, such as: "C", "S",...
asked by 29.11.2017 / 13:39
0
answers

Code Maintenance

I have an application that deserializes an XML file. I generated a class from an XSD with XSD.EXE For deserialization I use the following code: static T LoadFromXMLString<T>(string xmlText) { var stringReader = new System.IO.St...
asked by 05.12.2016 / 17:16
1
answer

The ref attribute of an xml schema document element

I'm doing an xml file generator xs, but I'm not sure if some parts should be populated. <xs:element name="identificacao"> <xs:complexType> <xs:sequence> <xs:element name="modelo"></xs:element&...
asked by 27.02.2015 / 22:10
2
answers

Generate XML based on XSD

I've got some XSD files here to use in an application I've developed ... I'd like to know how I can generate some sample XML in Visual Studio so I can put myself in the data export. When I try to do via Visual Studio in Generated XML example, it...
asked by 02.09.2015 / 14:16
0
answers

Can not resolve the name 'ds: SignatureType' to a 'type definition' component

In Java, when having validate an XML by XSD I'm getting the message:    Can not resolve the name 'ds: SignatureType' to a 'type definition' component. I have a REST service that receives an input XML, then validates the same with XSD and...
asked by 04.12.2018 / 11:56
0
answers

Error when modeling XSD

From this XML code, I have the XSD block: Code <?xml version="1.0" encoding="UTF-8"?> <schema xmlns="http://www.w3.org/2001/XMLSchema" targetNamespace="http://www.example.org/arquivoValidador" xmlns:tns="http://www.examp...
asked by 24.04.2018 / 00:09
0
answers

XSD error with tag types

When building code : <types> <xs:schema targetNamespace="urn:sigiss_ws"> <xs:import namespace="http://schemas.xmlsoap.org/soap/encoding/"/> <xs:import namespace="http://schemas.xmlsoap.org/wsdl/"/>...
asked by 24.04.2018 / 00:46
0
answers

Plugin to open Schema (Design) Xsd using NetBeans in a version greater than 6.7

I wonder if there is a plugin for Netbeans that opens the design of an Xsd file. I know that for Netbeans version 6.7 there is a plugin that when installed shows Schema, however I need to use version 8.2 of NetBeans.     
asked by 24.04.2018 / 16:16
1
answer

Validate XML with XSD generated from a Class

How can I validate my XML correctly through an XSD that was automatically generated based on a class?     
asked by 16.10.2015 / 20:22