Skip to content

Support custom entities #180

@vladchuk

Description

@vladchuk

Currently, there is no way (or at least it's not clear how) to create a mapping of custom entities from the XML document. For example:

<?xml version="1.0" encoding="utf-8"?>
<!DOCTYPE appcast [ 
    <!ENTITY ver_1 "1.0.1">
    <!ENTITY ver_2 "1.0.2">
]>
<rss version="2.0" xmlns:sparkle="http://www.andymatuschak.org/xml-namespaces/sparkle">
    <channel>
        <title>Test</title>
        <item>
            <enclosure
                sparkle:version="&ver_1;"
                url="http://localhost:8000/dev/test-install-&ver_1;.exe"
                sparkle:os="windows" />
        </item>
    </channel>
</rss>

Please add support for parsing doctype entities, so that they can be referenced within containing XML.

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions