W3C home > Mailing lists > Public > public-multilingualweb-lt@w3.org > May 2013

Re: External Resources HTML 2

From: Leroy Finn <finnle@tcd.ie>
Date: Thu, 2 May 2013 12:06:10 +0100
Message-ID: <CAMYWBwsr1ArKcrQgob7oxN5yVh7vmCB5rsC-bsk+X8vKucE09Q@mail.gmail.com>
To: Philip <Philip.Oduffy@ul.ie>
Cc: "public-multilingualweb-lt@w3.org" <public-multilingualweb-lt@w3.org>
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

This archive was generated by hypermail 2.4.0 : Friday, 17 January 2020 16:32:08 UTC