XML export crashes

omfguy wrote on 9/19/2003, 9:16 PM
1. Launch Vegas
2. Menu:File:Open
E:\Sample projects\SampleAudioMix\Audio mix.veg
This is from the Sample Projects on the web site
3. Play and Stop to verify that it works
4. Menu:Tools:RunScript
5. select ExportXML.js
6. Pick file name to export
7. Dialog comes up saying:
error getting property value forL Keyframes.Count
Error: Exception has been thrown by the target of an invocation.
8. Press OK
error dialog:
Error running:
System.NotImplementedException: Not implemented
at JScript.0.Global Code()
at SonicFoundry.Vegas._Startup.Startup()
at Microsoft.Vsa.BaseVsaEngine.Run()

Question: How do I fix this?
How do I export sample project to XML?

Comments

MarkWWW wrote on 9/20/2003, 8:03 AM
I've just tried this and I'm getting the same thing.

I know this script used to work in earlier versions of V4 so I presume one of the additions/changes to the scripting apparatus in one of the later revisions must have broken it.

Unfortunately I'm afraid I don't know what the what the solution would be.

Mark
SonyPJM wrote on 9/30/2003, 6:10 PM
I have fixed a few bugs in the ExportXML script and placed the new version here:

XMLIO.zip

I did test the fixes on the "Audio mix" sample project... seems to work OK now.

taliesin wrote on 10/22/2003, 6:11 AM
Mmh, when I use the XML-script it results in a file which seems to be plain XML-text even if I open that file with a HTML/XML-Browser. On top of the box appears:

"This XML file does not appear to have any style information
associated with it. The document tree is shown below."

So what is XML export good for?

Marco
taliesin wrote on 10/22/2003, 6:29 AM
Oh, I should have taken a closer look before ...

I realize XML export/import is for exchange of Vegas projects inside of Vegas.

So what is the advantage of using XML files for project exchanges over using the .veg-files?

Marco
SonyPJM wrote on 11/5/2003, 11:44 AM

I think the main advantage of XML is transparency... anyone can read
and write XML. A veg file format is "closed" (only we know how to
read and write it properly).

The advantage for us with the veg format is that is better supports
binary project data.