Skip to content

Replace the XML SAX parser with a DOM parser #242

@palemieux

Description

@palemieux

Currently, imscJS uses sax.js to parse IMSC documents. This allows the same code to be used in both node and in the browser. This is also doubles the size of the packaged browser JS module.

An alternative approach is to move to a DOM parser, so that the native parser can be used in browsers, while reverting to a external DOM parser in node.

@bbert would this help dash.js?

@gkatsev any further thoughts on this topic?

@nigelmegitt any strong feelings?

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions