Use DOMParser or SAXParser from Nekohtml in Android project

I am trying to use nekohtml to parse an html file.

Problem: When I use DOMParser or SAXParser I get the following messages:

  In my console:

      

error handling: Dx bad utf-8 bytes 80 at offset 00000021 ... when parsing cst 0213 at offset 00001732 ... when parsing cst 0053 at offset 00000176 ... when parsing org / apache / xerces / impl / xpath / regex / Token.class ... while processing org / apache / xerces / impl / xpath / regex / Token.class malfunction processing: [2012-03-07 18:50:32 - info] Dx bad utf-8 byte a0 at offset 00000004 ... when parsing cst 00c0 at offset 00000909 ... when parsing cst 003b at offset 00000106 ... when parsing org / apache / xerces / impl / xpath / regex / ParserForXMLSchema.class ... when processing org / apache / xerces /impl/xpath/regex/ParserForXMLSchema.class

Dx warning: Ignoring the InnerClasses attribute for an anonymous inner class (org.apache.xerces.impl.xpath.XPath $ 1) that does not contain an associated EnclosingMethod attribute. This class is probably not meant for the modern .class format. The recommended solution is to recompile the class from source using a modern compiler and without specifying parameters like "-target". The consequence of ignoring this warning is that reflexive operations on this class will be invalid, that it is not an inner class.

   In my LogCat window:

      

Could not find method org.apache.xerces.xni.NamespaceContext.declarePrefix referencing method org.cyberneko.html.xercesbridge.XercesBridge_2_3.NamespaceContext_declarePrefix

FY: Cannot resolve interface method 5699: Lorg / apache / xerces / xni / NamespaceContext ;. declarePrefix (Ljava / languages ​​/ String; Ljava / languages ​​/ Sring;) Z

Create a copy of Lorg / cyberneko / html / xercesbridge / XercesBridge_2_3; .NamespaceContext_declare Preferred code (24 bytes)

I am not putting the whole message because long

Please, I want to know how can I fix this problem .. thanks

+3
android


source to share


No one has answered this question yet

Check out similar questions:

3606
Close / hide Android soft keyboard
3295
Why is the Android emulator so slow? How can we speed up the development of an Android emulator?
3288
Correct use cases for Android UserManager.isUserAGoat ()?
2735
Stop EditText from getting focus when Activity starts
2609
Is there a unique identifier for an Android device?
2510
How to persist android activity state by persisting instance state?
2097
Is there a way to run Python on Android?
1858
"Debug certificate expired" error in Android Eclipse plugins
1844
What is "Context" on Android?
five
Error while importing jar into android project



All Articles
Loading...
X
Show
Funny
Dev
Pics