- From: Philip <Philip.Oduffy@ul.ie>
- Date: Thu, 02 May 2013 11:41:49 +0100
- To: public-multilingualweb-lt@w3.org, Leroy Finn <finnle@tcd.ie>
- Message-ID: <518242ED.4000907@ul.ie>
Hey Guys,
We seem to be having more issues with External Resource 2. We've
had this error before, where we are missing elements in our output, but
we thought this was due to the apostrophe issue we had before. Since
then we've fixed the apostrophe issue, but we are still missing
elements. Interestingly though, the <code> and <a> tags don't appear
when we parse the data into a simple xml object. Although HTML5
validators and tree viewers have no problem with any of the elements.
Cheers,
Philip
External Resource HTML 2
Expected Output:
...
/html/body[1]/p[1]
/html/body[1]/p[1]/@id
/html/body[1]/p[1]/video[1] externalResourceRef="video-image.png"
/html/body[1]/p[1]/video[1]/@height
/html/body[1]/p[1]/video[1]/@poster
/html/body[1]/p[1]/video[1]/@src
/html/body[1]/p[1]/video[1]/@width
*/html/body[1]/p[1]/video[1]/code[1] **
**/html/body[1]/p[1]/video[1]/a[1] **
**/html/body[1]/p[1]/video[1]/a[1]/@href **
*
Our Output:
...
/html/body[1]/p[1]
/html/body[1]/p[1]/@id
/html/body[1]/p[1]/video[1] externalResourceRef="video-image.png"
/html/body[1]/p[1]/video[1]/@height
/html/body[1]/p[1]/video[1]/@poster
/html/body[1]/p[1]/video[1]/@src
/html/body[1]/p[1]/video[1]/@width
Our Input:
...
<body>
<p id='1'>
<video width="640" height="360" src=
"http://www.example.com/video/v2.mp3" poster=
"video-image.png">If your browser doesn't support the
<code>video</code> element, you can <a href=
"http://www.example.com/video/v2.mp3">download the
video</a> instead.</video>
</p>
</body>
</html>
Received on Thursday, 2 May 2013 10:42:12 UTC