Skip to content

Bad parse with tag <?xml ?> #215

@serako

Description

@serako

Hi,
I try to use this parser for change a gpx file.
The first line is :
<?xml version="1.0" encoding="UTF-8"?>...other tag ...
but after simple parse :

$dom = new Dom;
$dom->load($gpx);
return $dom->outerHtml;

$gpx is in text format

the result is :
<?xml version="1.0" encoding="UTF-8">...other tag ...<?xml>

I use the package 2.2.1 in laravel 6.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions