Bob,

I was using an older version of the 5.1 rng files. Switched to 5.1RC2,
removed controls and now that part is working as intended. I'm having a
different issue now that will post in a separate thread

Carlos




On Tue, Apr 29, 2014 at 9:48 AM, Bob Stayton <b...@sagehill.net> wrote:

> Hi Carlos,
>
> > Jing is flagging controls="controls" as not being a valid attribute to
> > video object:
>
> It is correct that @controls is not permitted on videodata.  I'm looking
> at the DocBook 5.1 reference page for videodata and it does not mention
> @controls, and it is up to date.  What doc version are you looking at?
>
> http://docbook.org/tdg51/en/html/videodata.html
>
>
> >   element "multimediaparam" not allowed anywhere; expected the element
> > end-tag or element "info"
>
> That is not correct.  The multimediaparam element was a child of
> videoobject in 5.1 CR1, but it was moved to be a child of videodata in 5.1
> CR2.  Since you are using CR2, your example should be valid.  If I copy
> your example and remove @controls, then it validates in Oxygen with
> 5.1CR2/docbook.rnc.
>
> Bob Stayton
> Sagehill Enterprises
> b...@sagehill.net
>
>
> On 4/27/2014 8:06 AM, Carlos Araya wrote:
>
>> Good morning,
>>
>> I'm using Docbook 5.1CR2 with the following mediaobject/videoobject tag
>>
>>        <mediaobject>
>>          <videoobject>
>>            <videodata fileref="video/do-lectures.mp4"
>> controls="controls">
>>              <multimediaparam name="type" value="video/mp4"/>
>>            </videodata>
>>          </videoobject>
>>          <imageobject role="poster">
>>            <imagedata fileref="video/do-lectures.png"/>
>>          </imageobject>
>>          <textobject>
>>            <para>Craig Mod presenting at the Do Lecture in 2010</para>
>>          </textobject>
>>        </mediaobject>
>>
>>
>> Jing is flagging controls="controls" as not being a valid attribute to
>> video object:
>> attribute "controls" not allowed here; expected attribute "align",
>> "annotations", "arch", "audience", "condition", "conformance",
>> "contentdepth", "contentwidth", "depth", "dir", "format", "os", "remap",
>> "revision", "revisionflag", "role", "scale", "scalefit", "security",
>> "userlevel", "valign", "vendor", "version", "width", "wordsize",
>> "xml:base", "xml:id", "xml:lang" or "xreflabel"
>> It is also flagging multimediaparam as being an invalid attribute for
>> videodata
>>
>>   element "multimediaparam" not allowed anywhere; expected the element
>> end-tag or element "info"
>> Did the format for videoobject inside media object change from what's
>> posted in TDG for 5.1? If not where is the error? Controls should be a
>> valid attribute as not all videos will want to autoplay? Is this a better
>> question for the docbook list?
>>
>> Carlos
>>
>>

Reply via email to