Skip to content

Attributes get lowercased; xmlns omitted #8

@nchurch

Description

@nchurch

I tried parsing some Android XML configuration files; these have attributes, for instance, like

android:keyWidth="15%p"
android:horizontalGap="0px"
android:verticalGap="0px"

clj-tagsoup lowercases the attribute names-----e.g.:

android:keywidth

so that it doesn't roundtrip through Hiccup.

Additionally, it doesn't pick up the xmlns declaration in the root element; e.g:

xmlns:android="http://schemas.android.com/apk/res/android"

This has to be put back in by hand.

(I'm using Android as an example, but presumably these issues have relevance beyond Android.)

Thanks,

Nick.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions