Parse microdata from HTML documents with ease. PHP Implementation of W3C Microdata to JSON Specification.
15
stars
10
forks
source link
Typed property YusufKandemir\MicrodataParser\MicrodataDOMDocument::$xpath must not be accessed before initialization #4
Closed
joshua-bn closed 6 months ago
Detailed description
This happens when you use
fromDOMDocument()
Using
loadHTML()
andloadHTMLFile()
don't have this issue because they set $xpath. Needs a way to set $xpath outside of those methods.