Re: External Resources HTML 2

Hey Philip,

Yeah I know how to fix this issue. It has to do with the inheritance
processing in your datacategories-2-xsl.xsl.  I will mail you the solution
now.

Leroy


On 2 May 2013 11:41, Philip <Philip.Oduffy@ul.ie> wrote:

>  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"<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"<http://www.example.com/video/v2.mp3>>download
> the
>             video</a> instead.</video>
>         </p>
>     </body>
> </html>
>

Received on Thursday, 2 May 2013 11:06:39 UTC