The 'priority' attribute is not declared.  
Author Message
Will Merydith





PostPosted: HD DVD Interactivity Authoring, The 'priority' attribute is not declared. Top

In the samples and my own tests I get the error:

ERROR: Invalid attribute "priority" at row 13, char 36: The 'priority' attribute is not declared.

When running the validator. Is this a bug in the validator

Here's line 13 for example:

<PlaylistApplication description="Test" language="en" src="file:///dvddisc/ADV_OBJ/Manifest.xmf">
13<PlaylistApplicationResource priority="1" multiplexed="false" size="500000" src="file:///dvddisc/ADV_OBJ/Manifest.xmf" />
<PlaylistApplicationResource multiplexed="false" priority="1" size="500000" src="file:///dvddisc/ADV_OBJ/Script.js" />
<PlaylistApplicationResource multiplexed="false" priority="1" size="500000" src="file:///dvddisc/ADV_OBJ/Markup.xmu" />
<PlaylistApplicationResource multiplexed="false" priority="1" size="500000" src="file:///dvddisc/ADV_OBJ/Miramonte_b101.TTF" />
</PlaylistApplication>



Audio and Video Development1  
 
 
rekhareflection





PostPosted: HD DVD Interactivity Authoring, The 'priority' attribute is not declared. Top

Please note that unlike in other lines, in line 13 priority attribute is mentioned before multiplexed attribute. Try placing it like in other lines.


 
 
wmerydith





PostPosted: HD DVD Interactivity Authoring, The 'priority' attribute is not declared. Top

Yes I actually switched priority to come before the multiplexed attribute in order to eliminate order as a cause of this problem. Order does not seem to be the problem.


 
 
Bad Analog





PostPosted: HD DVD Interactivity Authoring, The 'priority' attribute is not declared. Top

There is no such thing as priority for PlaylistApplicationResources. This is because they are never unloaded from memory, like normal application resources can be. If the memory becomes too full, the HD DVD player automatically starts deleting unused resources (resources not valid for that time period or title). The priority is used to determine which items are deleted first.

The playlist application is always running, so there is no time at which its resources are not valid. Therefore, no need for a priority attribute.

In the future, playlist schema validation would be a very useful tool for your debugging. The schema can be found here:

http://www.dvdforum.org/2005/HDDVDVideo/Playlist/Playlist.xsd

Other schemas are available for the Manifest and Markup.




 
 
wmerydith





PostPosted: HD DVD Interactivity Authoring, The 'priority' attribute is not declared. Top

Nice. Thanks BA!




 
 
jakeonfire





PostPosted: HD DVD Interactivity Authoring, The 'priority' attribute is not declared. Top

Is there really a schema available for Markup It is not at http://www.dvdforum.org/2005/HDDVDVideo/Markup/ - if not here, where would it be

Thanks

 
 
jakeonfire





PostPosted: HD DVD Interactivity Authoring, The 'priority' attribute is not declared. Top

I figured it out. The root element should look like the following for automatic markup validation:

*.xmu root element

<root xml:lang="en"
xmlns="http://www.dvdforum.org/2005/ihd"
xmlns:style="http://www.dvdforum.org/2005/ihd#style"
xmlns:state="http://www.dvdforum.org/2005/ihd#state"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://www.dvdforum.org/2005/ihd
http://www.dvdforum.org/2005/ihd/iHD.xsd
http://www.dvdforum.org/2005/ihd/iHDstate.xsd
http://www.dvdforum.org/2005/ihd/iHDstyle.xsd"
>