Hello All
I have a problem with iHDSim 0.2. I have working HD-DVD project for iHDsim 0.1. But under iHDSim it doesn't work.
I see errors:
- <Title>
Using xml:base: file:///dvddisc/ADV_OBJ/
Attribute: titleNumber="2"
Attribute: titleDuration="00:00:23:00"
Attribute: id="Main"
Attribute: displayName="DvdOne Demo"
Attribute: onEnd="Main"
ERROR (E070000012): Element ApplicationSegment cannot appear in its current position (Element: Title, Line: 14, Col: 10)
+ <ScheduledControlList>
- <ScheduledControlList>
| Using xml:base: file:///dvddisc/ADV_OBJ/
| + <PauseAt>
| - <PauseAt>
| | Using xml:base: file:///dvddisc/ADV_OBJ/
| | Attribute: titleTime="00:00:00:01"
| + <ApplicationSegment>
| - <ApplicationSegment>
| | Using xml:base: file:///dvddisc/ADV_OBJ/
| | Attribute: autorun="true"
| | Attribute: titleTimeBegin="00:00:00:00"
| | Attribute: titleTimeEnd="00:00:20:00"
| | Attribute: src=file:///dvddisc/ADV_OBJ/main.xmf
| | Resource: file:///dvddisc/ADV_OBJ/main.xmf
| | Attribute: zOrder="0"
| | Attribute: sync="hard"
| | ERROR (E000000005): Resource file:///dvddisc/ADV_OBJ/SysResources/transparent.png must be declared in Playlist (Element: ApplicationSegment, Line: 24, Col: 14)
| | + <ApplicationResource>
| | - <ApplicationResource>
| | Using xml:base: file:///dvddisc/ADV_OBJ/
| | Attribute: loadingBegin="00:00:00:00"
| | Attribute: priority="1"
| | Attribute: src=file:///dvddisc/ADV_OBJ/main.js
| | Resource: file:///dvddisc/ADV_OBJ/main.js
| | Attribute: multiplexed="false"
| | ERROR (E070000008): Required attribute size expected (Element: ApplicationResource, Line: 32, Col: 14)
| | + <ApplicationResource>
| | - <ApplicationResource>
And have following code:
< xml version="1.0" encoding="utf-8" >
<Playlist
xmlns="http://www.dvdforum.org/2005/HDDVDVideo/Playlist"
majorVersion="1"
minorVersion="0"
>
<Configuration>
<StreamingBuffer size="0" />
<Aperture size="1920x1080" />
<MainVideoDefaultColor color="108080" />
</Configuration>
<MediaAttributeList />
<TitleSet timeBase="60fps">
<Title
titleNumber="2"
titleDuration="00:00:23:00"
id="Main"
displayName="DvdOne Demo"
onEnd="Main"
>
<ScheduledControlList>
<PauseAt titleTime="00:00:00:01"/>
</ScheduledControlList>
<ApplicationSegment
autorun="true"
titleTimeBegin="00:00:00:00"
titleTimeEnd="00:00:20:00"
src="file:///dvddisc/ADV_OBJ/main.xmf" zOrder="0"
sync="hard"
>
<ApplicationResource
loadingBegin="00:00:00:00"
priority="1"
src="file:///dvddisc/ADV_OBJ/SysResources/Transparent.png"
multiplexed="false"
/>
How can I solve this problem

iHDSim 0.2 ERROR (E000000005) & ERROR (E070000012)
Chefbrenner
0.2 If I check in the help>about of my iHDsim it says V6.052... perhaps you want to upgrade.
It seems that you haven't defined the resource transparent.png in the playlist, open it and add somewhere:
<ApplicationResource loadingBegin="00:00:00:00" priority="1" size="5000" src="file:///dvddisc/ADV_OBJ/SysResources/Transparent.png" multiplexed="false" />
where size must match the .png's filesize.
asilter
If you are using Visual Studio (or another validating XML editor) it will tell you exactly what elements are allowed in each place.
Just download the schemas from http://www.dvdforum.org/2005/HDDVDVideo/Playlist/Playlist.xsd and place them in \Program Files\Microsoft Visual Studio 8\Xml\Schemas and VS will start giving you IntelliSense and validation errors.
tuds47