xmls


License

License

GroupId

GroupId

com.flowtick
ArtifactId

ArtifactId

xmls_2.12
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.12

How to add to project

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

Dependencies

compile (3)

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

provided (2)

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

test (1)

Group / Artifact Type Version
org.scalatest : scalatest_2.12 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
0.1.9
0.1.8
0.1.7
0.1.6
0.1.3
0.1.1
0.1.0