Skip to content

Ability to use custom DOMDocument implementation in custom TreeBuilder (PHP) #159

Open
@GoogleCodeExporter

Description

@GoogleCodeExporter
What steps will reproduce the problem?

The $dom property of the HTML5_TreeBuilder class is private and provides no 
method to configure a custom implementation of DOMDocument.

What is the expected output? What do you see instead?

Not applicable.

Please provide any additional information below.

I propose that the constructor call a template method to set the $dom property. 
I am attaching some sample code to illustrate my idea.

If you would like me to provide a working patch, please LMK.

Regards,
Marshall

Original issue reported on code.google.com by [email protected] on 17 Aug 2010 at 11:13

Attachments:

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions