Skip to content

kobjects/kxml2

master
Switch branches/tags

Name already in use

A tag already exists with the provided branch name. Many Git commands accept both tag and branch names, so creating this branch may cause unexpected behavior. Are you sure you want to create this branch?
Code

Files

Permalink
Failed to load latest commit information.
Type
Name
Latest commit message
Commit time
doc
May 3, 2007 21:32
September 13, 2020 08:00
src
September 13, 2020 08:00
September 13, 2020 08:01
September 13, 2020 08:00
September 13, 2020 08:00
fix
September 13, 2020 08:27
April 8, 2003 16:56
November 26, 2022 18:30

README

  • Interested in Kotlin? Try 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
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:<version>")
}