Skip to content

External DTD Encoding with EXIficient #46

Description

@brandonprry

I've read that EXI encoding should support encoding an external DTD reference. For instance.

<?xml version="1.0" encoding="ISO-8859-1"?>
<!DOCTYPE foo [
  <!ELEMENT foo ANY >
  <!ENTITY file SYSTEM "file:///tmp/fragment.xml" >]>
<foo>&file;</foo>

I've attempted to encode this with the CMD class, but I cannot seem to encode it properly so that decoding preserves the external DTD reference, even with the -preserveDTDs -preservePIs etc arguments.

Can EXIficient encode an external DTD reference that will be decoded still as an external reference to a fragment?

Thanks so much.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions