sax Questions

3

How to parse CSS (CSS3) selector and use it (in jQuery-like way) to collect HTML elements not from DOM (from tree structure), but from stream (e.g. SAX), i.e. using sequential access event based pa...
Intinction asked 11/1, 2011 at 11:11

1

Recently at last we have switched our projects to Java 1.6. When executing the tests I found out that using 1.6 a SAXParseException is not thrown which has been thrown using 1.5. Below is my test ...
Pyrogallate asked 12/3, 2010 at 12:2

4

In my web application I need to use Saxon TransformerFactory in order to use XSLT 2.0 but I can't use setProperty method because I don't have this right on the web server and there is a Security Ma...
Intoxicating asked 3/6, 2010 at 17:9

2

Solved

I've got a custom contentHandler (called XMLHandler), I've been to a lot of sites via Google and StackOverflow that detail how to set that up. What I do not understand is how to USE it. Xml.parse...
Troth asked 22/4, 2011 at 4:24

4

Solved

I'm using Xerces to parse my XML document. The issue is that XML escaped characters like   appear in characters() method as non-escaped ones. I need to get escaped characters inside ch...
Catsup asked 29/3, 2011 at 15:42

1

Solved

Should be easy and obvious but I cant find a way - the XMLOutputFactory accepts anly OutputStream, Result or another Writer to generate a new XMLStreamWriter. What I have at hand is an XMLStreamRea...
Ancon asked 5/4, 2011 at 9:14

6

Solved

(All of the following is to be written in Java) I have to build an application that will take as input XML documents that are, potentially, very large. The document is encrypted -- not with XMLsec...
Lallans asked 10/12, 2008 at 12:41

7

Solved

I'm trying to parse a massive xml file into my MySQL database. the file is 4.7gb. I know, its insane. The data comes from here: http://www.discogs.com/data/ (the newest album xml is 700mb zi...
Howardhowarth asked 14/2, 2011 at 18:52

1

Solved

Is there any kind of difference between DocumentBuilder.parse(InputStream) and DocumentBuilder.parse(InputSource) ? I could only find that for the first case, the parser detects the encoding...
Debi asked 23/11, 2010 at 7:0

6

Solved

I am receiving an XML document from a REST service which shall be parsed using SAX. Please see the following example which was generated out of the XSD. Setting up the parser is not a problem. My m...
Furbish asked 16/11, 2010 at 23:30

3

Solved

I'm trying to parse a large XML file. I read it using XML::SAX (using Expat, not the perl implementation) and put all the second level and below nodes into my "Node" class: package Node; use Moose...
Antho asked 12/10, 2010 at 13:14

4

Solved

somewhat related to: libxml2 from java yes, this question is rather long-winded - sorry. I kept is as dense as I felt possible. I bolded the questions to make it easier to peek at before reading t...
Stasiastasis asked 29/9, 2010 at 19:38

2

Solved

This is a followup question of How to encode characters from Oracle to Xml? In my environment here I use Java to serialize the result set to xml. I have no access to the output stream itself, only...
Entebbe asked 1/10, 2008 at 9:0

5

Solved

I'm trying to return an XML file based on my query results. I'm very new to this so I'm not really sure where I'm going wrong. Is this a realistic way to go about doing this or is there something s...
Fall asked 14/8, 2010 at 16:33

2

Solved

I'm currently using SAX (Java) to parse a a handful of different XML documents, with each document representing different data and having slightly different structures. For this reason, each XML do...
Connors asked 4/8, 2010 at 12:57

1

Solved

I'm in a position where I use Java to connect to a TCP port and am streamed XML documents one after another, each delimited with the <?xml start of document tag. An example which demonstrates th...
Ointment asked 21/7, 2010 at 18:35

1

Solved

I am working with potentially huge XML files containing complex trace information from on of my projects. I would like to build indexes for those XML files so that one can quickly find sub section...
Crim asked 6/7, 2010 at 15:58

3

Solved

When trying to parse incorrect XML with a character reference such as &#x1, Java's SAX Parser dies a horrible death with a fatal error such as org.xml.sax.SAXParseException: Character referen...
Hydrogen asked 8/6, 2010 at 12:33

2

Solved

I'm using Java's DocumentBuilder.parse(InputStream) to parse an XML document. Occasionally, I get malformed XML documents in that there is extra junk after the final > that causes a SAXException...
Myles asked 11/5, 2010 at 23:17

1

I am parsing a XML file against a XSD containing some regex patterns used for checking input data, but only this regex generates an error, even if it passes into the Eclipse XSD plugin: InvalidRe...
Tecumseh asked 10/4, 2010 at 15:50

2

I use python sax to parse xml file. The xml file is actually a combination of multiple xml files. It looks like as follows: <row name="abc" age="40" body="blalalala..." creationdate="03/10/10"...
Dna asked 4/4, 2010 at 15:22

3

Solved

First off, let me say I am a new to SAX and Java. I am trying to read information from an XML file that is not well formed. When I try to use the SAX or DOM Parser I get the following error in re...
Wayfarer asked 23/3, 2010 at 11:19

1

Solved

What I need is just get the text of the corresponding tag and persist it into database. Since the xml file is big (4.5GB) I'm using sax. I used the characters method to get the text and put it in a...
Cupo asked 14/2, 2010 at 20:11

2

Solved

I am developing an application using OSGi (Equinox platform), and one of the bundles needs to parse XML files. So far I implemented this with SAX (javax.xml.parsers.SAXParserFactory) and I would li...
Interpose asked 21/7, 2009 at 11:9

4

Solved

I have a large XML data file (>160M) to process, and it seems like SAX/expat/pulldom parsing is the way to go. I'd like to have a thread that sifts through the nodes and pushes nodes to be processe...
Recollected asked 18/1, 2010 at 23:59

© 2022 - 2024 — McMap. All rights reserved.