Open XML SDK 2.0 for Microsoft Office - Parsing Error
-
Tuesday, April 03, 2012 7:16 AM
Hi
Not sure who to report this or the fix, however when you use the tool on say a Powerpoint with you have added an embedded object (e.g. say a web browser), it will give an error like
"Open XML SDK 2.0 Productivity Tool for Microsoft Office
Cannot open the file: Part /ppt/drawings/vmlDrawingl.vml: ‘if’ is an
unexpected token. The expected token is ‘CDATA[’. Line 15, position 6.
"
the issue is related to the code in the VML file which looks something like :
<! [if gte mso 9] --><v:imagedata o:relid="rId1" o:title=""/>
<! [endif] --><p:tag name="URL" type="string">> So not sure how to get around this or how i request Microsoft to provide a tick box option to allow this syntax ?
Thanks
- Edited by Greg B Roberts Tuesday, April 03, 2012 10:01 PM
All Replies
-
Wednesday, April 04, 2012 3:48 AMModerator
Hi Greg,
Thanks for posting in the MSDN Forum.
I can't reproduce your issue on my side. It works fine. I tried embedded a Excel document in my slide and open it via Open XML SDK 2.0 Productivity Tool for Microsoft Office. No error has been found. I would recommed you show your senario to me for reproduce your issue.
Have a good day,
Tom
Tom Xu [MSFT]
MSDN Community Support | Feedback to us
-
Wednesday, April 04, 2012 7:31 AM
Thanks Tom
I can reproduce this in a single slide :
Powerpoint 2010, Developer tools, Click on the last icon, more tools, insert "Microsoft Web Browser", scale the rectangle, save, then open.
Full file contents of vmldrawling1.vml
<xml xmlns:v="urn:schemas-microsoft-com:vml" xmlns:o="urn:schemas-microsoft-com:office:office" xmlns:p="urn:schemas-microsoft-com:office:powerpoint" xmlns:oa="urn:schemas-microsoft-com:office:activation"> <o:shapelayout v:ext="edit"> <o:idmap v:ext="edit" data="1"/> </o:shapelayout><v:shapetype id="_x0000_t201" coordsize="21600,21600" o:spt="201" path="m,l,21600r21600,l21600,xe"> <v:stroke joinstyle="miter"/> <v:path shadowok="f" o:extrusionok="f" strokeok="f" fillok="f" o:connecttype="rect"/> <o:lock v:ext="edit" shapetype="t"/> </v:shapetype><v:shape id="WebBrowser1" o:spid="_x0000_s1026" type="#_x0000_t201" style='position:absolute;left:70.875pt;top:139.625pt;width:578.25pt;height:317.5pt' strokecolor="black [1]"> <![if gte mso 9]><v:imagedata o:relid="rId1" o:title=""/> <![endif]><v:shadow color="#eeece1 [2]"/> </v:shape></xml>
If you still can't then email me at greg.roberts @ schneider-electric.com and i send a zip.
Regards
-
Thursday, April 05, 2012 4:20 AMModerator
Hi Greg,
I reproduce your issue on my side. It's basd on my experience that is a issue for Open XML SDK 2.0 Productivity Tool for Microsoft Office. I will involve some experts into this to see whether they can help you. There might be some time delay, thanks for your patience.
Have a good day,
Tom
Tom Xu [MSFT]
MSDN Community Support | Feedback to us
-
Tuesday, April 10, 2012 8:44 AMModerator
Hi Greg,
We have reported it to product team and we are waiting for response here. We will let you know update as soon as we can.
Have a good day,
Tom
Tom Xu [MSFT]
MSDN Community Support | Feedback to us
-
Friday, May 18, 2012 6:01 AM
I have worked around this but would be interested in an update.

