Skip to content
This repository has been archived by the owner on May 21, 2018. It is now read-only.

Cann't extract top level xml elements #262

Open
mielientiev opened this issue Jan 30, 2017 · 1 comment
Open

Cann't extract top level xml elements #262

mielientiev opened this issue Jan 30, 2017 · 1 comment

Comments

@mielientiev
Copy link
Collaborator

mielientiev commented Jan 30, 2017

Issue:
Rapture-XML cannot extract "top"-level xml elements

Example:

import rapture.xml._
import rapture.core.java8.time._
xml"""<name>Joe</name><birthday>1983-03-29</birthday>""".birthday.as[LocalDate]

result: MissingValueException

Expected:
LocalDate.of(1983, 3, 29)

@mielientiev
Copy link
Collaborator Author

Fixed at 06fba63

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

1 participant