Questions tagged [xmlschemaset]

44 questions
0
votes
1 answer

Is it possible to extract specific data from a table that is formed by XMLSchema?

I would like to extract data inside a webpage. The data is formed with http://w3.org/2001/XMLSchema . The data that will be extracted is located in different tags in a table. The table is automatically formed when the text is pasted to the…
0
votes
1 answer

Relational XML Schema isn't working perfectly

I've been working on a xsd file based on a pretty easy-to-understand database tables. Just imagine "users". Those users have normal field (firstname, lastname, etc.) and also have a phone and an address field (Each user can have more than one phone…
Oley
  • 61
  • 11
0
votes
1 answer

Problems validating XML with RelaxNG-schema

I'm having trouble validating my XML up against my RelaxNG-schema. I am a bit new to relaxng, so excuse me if the fault is obvious. Jing produces three types of errors when validating: Error 1: "element "article" not allowed here; expected element…
0
votes
2 answers

Is XmlSchemaSet allowed to be shared among multiple XmlReader/XmlWriter objects?

According to MSDN, XmlSchemaSet class is not guaranteed to be thread-safe. So can multiple XmlReader objects be created with a single XmlReaderSettings object referencing one XmlSchemaSet object and used concurrently from multiple threads? Or does…
relatively_random
  • 4,505
  • 1
  • 26
  • 48
0
votes
1 answer

XML Schema not Showing as Invalid

I have an XSD file that is supposed to catch some invalid xml I wrote, but my program is gladly eating it up. How can I get it to throw validation errors properly? The schema:
user3096803
0
votes
1 answer

C# - XSD Validation

I'm trying to build a XSD validation, I have 03 XSD .
0
votes
1 answer

XML file with custom children nodes

I am actually working with Magento 2 framework which implement XSD schema for his configuration files. I have a file flow.xml where the developer put his an XML mapping and some configurations. My goal is making two nodes mandatory mapping and…
0
votes
2 answers

How to get a flat list of possible XML Elements in order from a XmlSchemaObject in .NET

I have a XML Schema from a XmlSchemaSetProvider and need a list of all possible XML Elements (names) that may be in the given type in the correct order. The schema uses XML Schema extensions, complex types, sequences... Is there some good way to…
0
votes
0 answers

Convert XMLSchema datetime datatype literal into Java SimpleDateFormat

I'm trying to convert the following XMLSchema datetime datatype literal "~@http://www.w3.org/2001/XMLSchema#dateTime 2015-04-18T07:52:53.653" into Java datetime object. I tried different alternatives including the one presented in Java…
Edi
  • 109
  • 11
0
votes
1 answer

XML schema & xml document not validating

I was wondering if you could point out whats wrong with my schema? I have checked that my XML document is well formed using - http://www.utilities-online.info/xsdvalidation/#.VQkt1BCUfA4 - It's well formed. But when I check my schema against my xml…
James111
  • 15,378
  • 15
  • 78
  • 121
0
votes
1 answer

XML validation against XML schema: Cannot find the declaration of element 'tns:FlightMonitor'

I have a problem while trying to validate an XML file against a XML schema. When I try a validation, the error who is reported is this one Cannot find the declaration of element 'tns:FlightMonitor' i don't know what I have to change, seems like…
Ivano
  • 91
  • 1
  • 11
0
votes
1 answer

IXmlSerializable with valid XmlSchema (XMLSchema:schema' element is not declared..)

I am trying to implement IXmlSerializable. My class implements serializable and writes a single string. I wish to be able to export an object graph schema using XsdDataContractExporter (the standard one). The class serializes to a simple xml.
Craig
  • 83
  • 1
  • 6
0
votes
1 answer

Is XSD data validation reliable in .Net 4.0?

I have written a client to a public SOAP web service, using a WSDL and several XSD files supplied by the service provider. I wanted to find an easy way to validate user data against the XSD files, so I used the standard example from MSDN, using an…
user2176753
  • 1,549
  • 1
  • 9
  • 7
-1
votes
1 answer

XML Schema - Key constraint on two two elements

My .xml file is something like this: A1
v2to
  • 409
  • 1
  • 5
  • 11
1 2
3