1,772 questions
0
votes
0
answers
78
views
Ruby Nokogiri Sax parser does not unescape & attribute
With the following code:
require 'nokogiri'
class MyDocument < Nokogiri::XML::SAX::Document
def start_element_namespace(name, attrs = [], prefix = nil, uri = nil, ns = [])
a = attrs.map ...
0
votes
1
answer
89
views
Working with XML in chunks node js using sax js
I try using sax js in order to process xml file in chunks , adding it to limited size of array , await to updating the DB , then reset the array.
The problem is that it not working asynchronously out ...
1
vote
1
answer
160
views
Getting Attributes from Python SAX Parsing with Namespace
I've tried countless ways to get attribute values out of Python's SAX parser when using namespaces and cannot find a way to do it. There must be a simple solution here, but for the life of me I cannot ...
1
vote
0
answers
51
views
Tomcat 9.0 Deployment: SAXParserFactory not found
I'm using Tomcat v9.0.87 with Java 1.8.0_412.
The Tomcat starts very well, just with root and manager application.
If I deploy two war-files, the whole Tomcat crashes.
> 09-Jul-2024 10:49:34.899 ...
0
votes
1
answer
46
views
How to get node outside loop while using sax parser
I need to parse document using SAX parser in java. I was able to print all the node values if I use DefaultHandler class traditionally implementing the startElement, endElement and characters method. ...
0
votes
1
answer
65
views
using Open XML SAX technology, freeze the first line (title)
I am creating an Excel file with a large amount of data, for this reason I had to choose SAX technology, but I can’t find examples anywhere of how to freeze the first row so that when scrolling it ...
1
vote
0
answers
136
views
XML schema validation by using libxml2 SAX interface
Can the libxml2 SAX interface do schema validation against the whole XML contents? Currently, I have a completed xsd loaded into the memory. Based on my knowledge, libxml2 SAX interface is a stream-...
0
votes
1
answer
53
views
What is a "TBS chunk"?
I'm planning to write a SAX2 XML parser and I would like to support as many standard options as I can. However, I'm really scratching my head trying to understand what the http://xml.org/sax/...
2
votes
1
answer
139
views
Xml Reader parsing character outside BMP to surrogate pairs which results in invalid xml
I am trying to parse an xml which contains hex value of 𝓅. This represents the mathematical symbol 𝓅. The output that I am getting is ��.
What am I doing wrong?
...
1
vote
2
answers
89
views
Determine if a tag is inside another tag in SAX parser
There is an XML and I parse it using the SAX parser. Now suppose I receive a notification at the start of an element startElement(..)
At this time I will know the tag name that the SAX parser is at. ...
0
votes
1
answer
129
views
Reading an optional attribute of a XML Node in python3
I'm trying to read a XML file in SAX in Python3, because in my pet project I have in inptu a full directory of XML file representing some GTD projects1 .
The file has this format
<project name = &...
1
vote
0
answers
60
views
Why CDATA fails to parse in XML 1.1?
Java SAX parser throws error if a CDATA section ends with a "]" and XML version is 1.1.
<?xml version="1.1" encoding="UTF-8"?>
<book>
<description><...
0
votes
0
answers
62
views
Sax Parser - Catalog Resolver Entity is resolving each and every time while it validating XML
I got a task to validate xml against dtd and we'll get more than 20k files to validate.
While testing the performance, we have found the below discrepancies
using catalog resolver, it's taking more ...
0
votes
1
answer
48
views
Java XML parser duplicating elements on list
I have a SAX2 XML parser and I want to perform specific actions.
Add an object to tileFrames list when frame element starts (as many times as frame in each animation element),
Add String ...
0
votes
1
answer
115
views
Python3 SAX - parsing internal entity names instead of resolving them
I want to parse the an XML document (the JMdict dictionary), which is a list of entries containing elements which represent properties about the entry, for example <pos>&vr;</pos>, ...