Skip to content

Fix reflection error preventing XML roundtrip #63

@retrogradeorbit

Description

@retrogradeorbit
$ bootleg -d -e '(convert-to (selmer "<?xml version=\"1.0\" encoding=\"UTF-8\"?><Foo>{{foo}}</Foo>" {:foo "bar"} :data :html) :hiccup)'
bootleg: script error at line , column : Factory configuration error: Provider com.sun.xml.internal.stream.XMLInputFactoryImpl not found

from leiningen

$ lein run -- -d -e '(convert-to (selmer "<?xml version=\"1.0\" encoding=\"UTF-8\"?><Foo>{{foo}}</Foo>" {:foo "bar"} :data :html) :hiccup)'
[:Foo {} "bar"]

thus:

$ lein run -- -e '(-> (selmer "<?xml version=\"1.0\" encoding=\"UTF-8\"?><Foo>{{foo}}</Foo>" {:foo "bar"} :data :html) (convert-to :hiccup) (convert-to :xml))'
<?xml version="1.0" encoding="UTF-8"?><Foo>bar</Foo>

See #62

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions