Questions tagged [xmlexception]

34 questions
0
votes
0 answers

XmlSyntaxException vs XmlException in .Net

Which is prefer in what case in the concept of reuse predefined exception classes? For example I was parsing a document using XmlReader and faced with inconsistent close tag:
SerG
  • 1,251
  • 4
  • 18
  • 37
0
votes
0 answers

"data at the root level is invalid"

I'm writing some code that opens an XML file, reads it and stores the data in a List. The only thing is that I get "XmlException data at the root level is invalid " when I run my code. I've searched on the error and non of the solutions worked for…
TDC
  • 111
  • 1
  • 1
  • 8
0
votes
1 answer

XmlPullParser issues in Android

So on review of the code there is no exception thrown when the xml is read in...works fine. public void ReadXML() throws XmlPullParserException, IOException { factory = XmlPullParserFactory.newInstance(); …
user1447825
-1
votes
1 answer

PHP file with JavaScript Extjs

A noob question here, by a novice programmer. I am trying to do a javascript inside a .php file, in my index I included this line: And in my basic.php:
oneofakind
  • 552
  • 17
  • 41
1 2
3