xmls


License

License

GroupId

GroupId

com.flowtick
ArtifactId

ArtifactId

xmls_2.13
Last Version

Last Version

0.1.11
Release Date

Release Date

Type

Type

jar
Description

Description

xmls
xmls
Project URL

Project URL

https://github.com/flowtick/xmls
Project Organization

Project Organization

com.flowtick
Source Code Management

Source Code Management

https://github.com/flowtick/xmls.git

Download xmls_2.13

How to add to project

<!-- https://jarcasting.com/artifacts/com.flowtick/xmls_2.13/ -->
<dependency>
    <groupId>com.flowtick</groupId>
    <artifactId>xmls_2.13</artifactId>
    <version>0.1.11</version>
</dependency>
// https://jarcasting.com/artifacts/com.flowtick/xmls_2.13/
implementation 'com.flowtick:xmls_2.13:0.1.11'
// https://jarcasting.com/artifacts/com.flowtick/xmls_2.13/
implementation ("com.flowtick:xmls_2.13:0.1.11")
'com.flowtick:xmls_2.13:jar:0.1.11'
<dependency org="com.flowtick" name="xmls_2.13" rev="0.1.11">
  <artifact name="xmls_2.13" type="jar" />
</dependency>
@Grapes(
@Grab(group='com.flowtick', module='xmls_2.13', version='0.1.11')
)
libraryDependencies += "com.flowtick" % "xmls_2.13" % "0.1.11"
[com.flowtick/xmls_2.13 "0.1.11"]

Dependencies

compile (3)

Group / Artifact Type Version
org.scala-lang : scala-library jar 2.13.3
org.parboiled : parboiled_2.13 jar 2.2.0
org.scala-lang.modules : scala-xml_2.13 jar 1.3.0

provided (2)

Group / Artifact Type Version
com.chuusai : shapeless_2.13 jar 2.3.3
org.scala-js : scalajs-stubs_2.13 jar 1.0.0

test (1)

Group / Artifact Type Version
org.scalatest : scalatest_2.13 jar 3.2.2

Project Modules

There are no modules declared in this project.

xmls

travis latest release for 2.13

A simple xml parser for Scala(.js) based on parboiled2.

Why?

While scala-xml supports Scala.js now, the loading of XML is still relying on the JVM parser implementations. xmls aims to provide a good enough XML parser for usage in cross-platform builds (web-only applications could just use the XML parsing of the browser).

See the spec for supported XML elements.

Non-Goals

  • A XML complete parser
  • XSD validation

Build

sbt package

Use

import xmls._

val parsed: Either[XmlParserError, scala.xml.Node] = XMLS.parse("<root><child/><child/></root>")

see dist/example.html for usage in the browser.

License

Apache License Version 2.0, see LICENSE

com.flowtick

Versions

Version
0.1.11
0.1.10