Questions tagged [xmlschemaset]
44 questions
1
vote
1 answer
C# - How to get the right line number in error message when validating XML using XmlSchemaSet?
So I am trying to validate a xml file against a xsd file using XmlSchemaSet and I tried implementing the following solution in my project and it finds all the errors in the xml file but the line number it gets is always 1 for some reason. Here is…

JustThisOnce
- 41
- 6
1
vote
0 answers
VB schema Import schema loading async
When loading a schema through:
Dim settings As XmlReaderSettings = New XmlReaderSettings()
settings.Async = True
Dim reader As XmlReader = XmlReader.Create(inputUri, settings)
xmlSchema = xmlSchemaSet.Add(Nothing, reader)
The schema defined in the…

Kingman B
- 11
- 2
1
vote
1 answer
schema not works when no internet connection
schema works fine during internet connection but it shows me following warning message when internet connection is off
No grammar constraints (DTD or XML Schema) referenced in the document.
i have used following schemas in…

User5678
- 191
- 1
- 8
1
vote
1 answer
Trouble linking XML and XSL documents
first time trying to use XML besides xpath validation. I have a homework assignment where I'm supposed to link an XML and an XSL document so that the XML, when opened in a firefox v25 or later browser displays like such:
Mountain Name: Mount…

Pix81
- 585
- 3
- 15
- 33
1
vote
1 answer
XSD schema for a list of elements containing text and having attributes?
Let's say I have the following XML:
English
John Smith
Point
Triangle
Apple

Magnus
- 17,157
- 19
- 104
- 189
1
vote
1 answer
XML, XSL, XML Schema
I need help with XSL and XML Schema.
This is XML file:

stroibot
- 808
- 1
- 11
- 25
1
vote
1 answer
windows form, how to edit each node value in xml file by the the value in the textbox in the form. c#
I am new to C# and I'm creating a windows form application that has 2 TextBox controls and 1 RichTextBox.
I want it enable me to open an XML file and insert the values of a node inside the TextBox controls but most importantly I want to insert data…

F. Schneider
- 11
- 6
1
vote
0 answers
Split Class file into multiple files instead of one single file
I have the below code that takes an xml file and converts it into a set of public partial classes based on the content of the xml file:
Public Class XMLToClass
Implements IXMLToClass
Public Sub New()
End Sub
Public Function…

Popo
- 2,402
- 5
- 33
- 55
1
vote
0 answers
XMLSchema 0.8.0 Error in R 3.2.0 on Windows
I'm trying to install the development version (v. 0.8.0) of XMLSchema in R 3.2.0 on a Windows 64-bit computer.
Unfortunately, the release version (v. 0.7.0) doesn't work for the database I am trying to access.
However, when I try to install 0.8.0…

William Gearty
- 166
- 1
- 8
1
vote
1 answer
XmlSchemaElement class properties meaning
Maybe I missed something, but can anyone explain to me the meaning and differences of the following properties of XmlSchemaElement class:
What are the differences between XmlSchemaElement.ElementSchemaType and XmlSchemaElement.ElementType?
What are…

Jevgenij Nekrasov
- 2,690
- 3
- 30
- 51
1
vote
1 answer
XML Schema: "Invalid content was found"
So I have this data.xml schema code:

Tom
- 3,587
- 9
- 69
- 124
0
votes
1 answer
How to extract the Schema from the WSDL Definition file programmatically in .NET Core 3.1?
I have a WSDL file as described below, and through programmatically need to read the the schema part from the below WSDL using c#.net core 3.1 along with targetNamespace of each schema part to pass it to the following…

u100619
- 1
- 2
0
votes
0 answers
Generating SQL Tables from XML Altova XMLSPY
I have an XML file from my old CRM and I am ultimately importing this in Salesforce.
I feel good having it in SQL Server first. The problem is, I'm not great with XML and recalling TSQL with XML is rather tedious. I also recall that Altova has some…

John Ligda
- 69
- 1
- 8
0
votes
0 answers
XMLSChemaSet.Add fails in Visual studio 2017
I have the below code which works perfectly works with Visual Studio 2010,
string path = @"Path_to_XML.xml";
FileStream stream = new FileStream(path, FileMode.Open, FileAccess.Read);
XmlReaderSettings settings = new XmlReaderSettings
{
…

srajeshnkl
- 883
- 3
- 16
- 49