https://github.com/kobjects/kxml2
Small XmlPull compatible parser
https://github.com/kobjects/kxml2
Last synced: 23 days ago
JSON representation
Small XmlPull compatible parser
- Host: GitHub
- URL: https://github.com/kobjects/kxml2
- Owner: kobjects
- License: mit
- Created: 2016-03-15T12:20:53.000Z (almost 10 years ago)
- Default Branch: master
- Last Pushed: 2022-11-26T17:30:51.000Z (about 3 years ago)
- Last Synced: 2023-07-31T13:09:31.953Z (over 2 years ago)
- Language: Java
- Size: 345 KB
- Stars: 35
- Watchers: 5
- Forks: 20
- Open Issues: 10
-
Metadata Files:
- Readme: readme.md
- License: license.txt
Awesome Lists containing this project
README
# README
- Interested in Kotlin? Try [KtXml](https://github.com/kobjects/ktxml) and provide feedback!
- Now the content of `org.xmlpull.v1.XmlPullParserFactory` is split across multiple lines `org.kxml2.io.KXmlParser` & `org.kxml2.io.KXmlSerializer` instead of comma separated `org.kxml2.io.KXmlParser,org.kxml2.io.KXmlSerializer` which bombs in Java 9+. This fix will ensure java 9 module system will atleast no complain. Even with this fix, implementation of `XmlPullParserFactory` in `xmlpull` is still nothing but abuse of `ServiceLoader` implementation. But atleast it does not bomb right now
- Library can be added as a dependency using
```groovy
repositories {
mavenCentral()
maven {
url "https://jitpack.io" // maven repo where the current library resides
}
maven {
url "https://dl.bintray.com/unverbraucht/java9-fixed-jars" // repo for fetching `xmlpull` dependency that's java 9 enabled
}
}
dependencies {
implementation("com.github.kobjects:kxml2:")
}
```