Skip to main content
How are we doing? Please help us improve Stack Overflow. Take our short survey
0 votes
1 answer
95 views

I created an XML with inline schema and wrote a Powershell script to validate my XML, but it was failing every time. Not sure whether the problem lies with my XML or with the validating script, I ...
Wim's user avatar
  • 125
-3 votes
3 answers
152 views

I have an XML file with all the XML on one line as follows: <route><name>CSX Atlanta Division Abbeville Sub</name><description>The Abbeville Subdivision runs from Tucker, GA to ...
MattCW's user avatar
  • 1
0 votes
0 answers
77 views

I'm trying to validate a simple xml file with an external dtd schema with schema and xml being in separate files. Unfortunately so far it only works when the dtd schema is defined in the xml DOCTYPE ...
andris's user avatar
  • 1
0 votes
2 answers
45 views

I am using XMLReader in C# to read value of each acctNum but the problem is it skips record. It will skip 1st record, then read 2nd, then skip 3rd, then read 4th and so on. <acc><acctNum>...
Frank Martin's user avatar
  • 3,459
0 votes
1 answer
75 views

I need to write a C# code to extract attribute info from XML when the validation fails. The code I have below is able to give me the exact attribute that fails the validation but I need additional ...
Sheva's user avatar
  • 37
1 vote
0 answers
69 views

I am trying to get different elements in single xmlreader creation <Records> <Teacher> <Name>Gladstone<Name> <Subject>Chemistry<Subject> </...
Gladstone Jaffrey's user avatar
0 votes
1 answer
90 views

This is my XML <?xml version="1.0" encoding="utf-8"?> <Zones xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/...
Ayushi Ramsurn's user avatar
1 vote
1 answer
88 views

I have a link to the XML file. I get it this way: $xml = simplexml_load_file('http://example.com'); SimpleXMLElement {#1631 ▼ +"@attributes": array:1 [▶] +"shop": ...
Rediska's user avatar
  • 35
0 votes
0 answers
67 views

I have to read an XML document and create a list of products, each product has an id and other properties that I'm interested in. The problem is, that if the product has the tag then the object will ...
NDGold's user avatar
  • 1
3 votes
3 answers
1k views

I'm parsing a very large Xml files, so I need to use the XMLReader of PHP. They cannot be modified from the source. So they have to be parsed as they are. The problem is that the documents contain ...
Jenemj's user avatar
  • 45
0 votes
0 answers
55 views

I have a very simple XML, but where one child element is a DNA string. This string can be anything from a few hundred characters long to 3 billion (like in the human genome). Of course reading a ...
Oystein's user avatar
0 votes
1 answer
196 views

I'm tasked to write a XML linter in PHP8 and it shall server as a web API. This XML linter must work in verbose mode that goes through the whole document and log every error found (up to 1000 errors) ...
RichardLiu's user avatar
  • 2,022
0 votes
1 answer
806 views

Suddenly, my code that has been working well started returning this error Message: XMLReader::read(): compress.zlib://file.gz:2: parser error : internal error: Huge input lookup This is happening on ...
Basooma John's user avatar
-1 votes
2 answers
163 views

I am using the XmlReader to parse XML data received over a socket. The data is sometimes broken into separate packets and when that happens, XmlReader will throw an XmlException for the incomplete XML....
Étienne Laneville's user avatar
0 votes
4 answers
78 views

I have a very large xml file with the following format (this is a very small snip of two of the sections). <?xml version="1.0" standalone="yes"?> <LaunchBox> <Game&...
John T's user avatar
  • 1,078

15 30 50 per page
1
2 3 4 5
75