When trying to use xPath on an xmlElement with following content I get a crash inside the withXMLChar() func at:
if let prefix = ns.pointee.prefix {
The xmlElement where I try to get the poster value via xPath:
<video id="player" class="video-js vjs-sublime-skin vjs-big-play-centered"
controls preload="none"
poster="preview.jpg"
data-setup='{}'>
<source src="trailer.mp4" type='video/mp4'>
<p class="vjs-no-js">To view this video please enable JavaScript, and consider upgrading to a web browser that supports HTML5 video</p>
</video>
When trying to use xPath on an xmlElement with following content I get a crash inside the withXMLChar() func at:
if let prefix = ns.pointee.prefix {
The xmlElement where I try to get the poster value via xPath:
Any idea why? Thanks.