xml-parsing Questions
2
Solved
Is it feasible in Java using the SAX api to parse a list of XML fragments with no root element from a stream input?
I tried parsing such an XML but got a
org.xml.sax.SAXParseException: The marku...
Somatoplasm asked 27/6, 2012 at 12:58
4
Solved
i guess this is a xml parsing problem, but I just cannot see where it is. I read some articles about this topic and nothing helped:
i have this spring mvc config:
<?xml version='1.0' encoding=...
Evzone asked 24/9, 2014 at 11:1
3
Solved
I have a simple requirement where in I need to fetch the value of attribute xml:id i.e af1.
I am making use of a SAXParser and here is my xpath:a/aff/@xml:id on the contrary I was able to fetch val...
Chordate asked 5/6, 2012 at 9:21
3
I'm trying to fix an XML file with thousands of lines that have the error:
Opening and ending tag mismatch error
I'm using right now simpleXML to parse this file, so before parse with this lib...
Terrilyn asked 25/8, 2014 at 20:19
2
I have a partial XML string without a root element. E.g.:
<Item Id="1">some text</Item>
<Item Id="2">some other text</Item>
I need to convert this strin...
Wouldst asked 22/7, 2021 at 9:45
15
Solved
I am trying to fetch the below xml from db using a java method but I am getting an error
Code used to parse the xml
DocumentBuilderFactory dbf = DocumentBuilderFactory.newInstance();
DocumentBuil...
Buchalter asked 21/3, 2013 at 11:5
3
Solved
I have two times, and their values are picked up from a XML from web.
XElement xmlWdata = XElement.Parse(e.Result);
string SunRise = xmlWdata.Element("sun").Attribute("rise").Value;
string SunSet...
Probable asked 20/5, 2012 at 7:52
8
Solved
I have the following XML which I want to parse using Python's ElementTree:
<rdf:RDF xml:base="http://dbpedia.org/ontology/"
xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#...
Odontoblast asked 13/2, 2013 at 12:8
9
I have follows below XML feed:
<Description>
<p>Touch, tap, flip, slide! You don&#39;t just read Books, you experience it.</p>
</Description>
Here I have to display ...
Wreathe asked 4/3, 2013 at 7:16
3
I am getting an error while executing the query in a SQL Server job. But if I execute it directly, it works fine.
Executed as user: NT AUTHORITY\SYSTEM.
XML parsing: line 10, character 33
Une...
Interlocution asked 28/1, 2016 at 6:20
7
Solved
I have to read and write to and from an XML file. What is the easiest way to read and write XML files using Java?
Predicate asked 10/9, 2011 at 17:58
7
Solved
The XML:
<?xml version="1.0"?>
<pages>
<page>
<url>http://example.com/Labs</url>
<title>Labs</title>
<subpages>
<page>
<url>http:/...
Scarabaeoid asked 24/6, 2013 at 12:30
9
Solved
I am getting very strange "Premature end of file." exception for last few days on one of our servers. The same configuration XML works fine on another server. We are using Tomcat 5.0.28 on both the...
Towers asked 20/6, 2012 at 7:20
11
Solved
Parsing an XML file using the Java DOM parser results in:
[Fatal Error] os__flag_8c.xml:103:135: An invalid XML character (Unicode: 0xc) was found in the element content of the document.
org.xml.s...
Reliant asked 21/4, 2011 at 10:5
5
Solved
I have XML data I am retrieving via a REST API that I am unmarshal-ing into a GO struct. One of the fields is a date field, however the date format returned by the API does not match the default ti...
Tragus asked 25/6, 2013 at 15:16
2
Solved
Is there a way to get the original location of an element in a document, ie. the start and end character index, when parsing html/xml in Python?
I've looked through the lxml documentation and coul...
Entwistle asked 24/11, 2011 at 14:21
2
:app:mergeDebugResources 1error
Illegal processing instruction target ("xml"); xml (case insensitive) is reserved by the specs.
at [row,col {unknown-source}]: [5,9]
what does it says?
...
Mariehamn asked 11/4, 2022 at 18:19
12
Solved
I'm trying to parse some XML inside a WiX installer. The XML would be an object of all my errors returned from a web server. I'm getting the error in the question title with this code:
XmlDocument ...
Heavenly asked 22/7, 2013 at 18:50
5
Solved
I have an XML document which reads like this:
<xml>
<web:Web>
<web:Total>4000</web:Total>
<web:Offset>0</web:Offset>
</web:Web>
</xml>
my question...
Imperfect asked 17/6, 2010 at 4:40
1
We used probatron and saxon to validate a test xml using a given sch file in our java application. Recently, a new rule has been added to the sch file such as
<let name="foo" value=&qu...
Muscovite asked 15/8, 2017 at 12:26
8
Solved
I want to prevent a XXE attack in my project. It's old api project which runs on java 7 (no maven) and jboss-as-7 server. But during the execution i get the error:
org.xml.sax.SAXNotRecognizedExcep...
Exaction asked 14/10, 2019 at 9:54
1
Solved
I am trying to call the rest api which give me xml response. I am using retrofit with simplexml converter factory to parse the xml to kotlin data clas. Here is the xml response from api:
<catego...
Copt asked 6/11, 2022 at 17:3
4
Solved
I have the following XPath expression:
/configuration/properties
And this is my XML:
<configuration
xmlns="http://www.ksharma.in/myXSD">
<properties>
<property key=&quo...
Deterge asked 6/5, 2014 at 10:29
4
Solved
I would like to write a method that read several XML files inside a ZIP, from a single InputStream.
The method would open a ZipInputStream, and on each xml file, get the corresponding InputStream,...
Misstep asked 16/11, 2013 at 16:43
5
Solved
For the below xml ,I need to replace <studentStatus> for <studentName>CLASSA</studentName> to <studentStatus>failed</studentStatus>.
<studentFile>
<student&...
Invertase asked 14/5, 2017 at 18:23
1 Next >
© 2022 - 2025 — McMap. All rights reserved.