Home. 
.

transparent

transparent

transparent

Altova Mailing List Archives


Re: Office 2007 RibbonX (XML) Validation

From: "willib" <willib@------------------.--->
To: NULL
Date: 9/13/2009 8:20:00 AM
Hello Greg,

u'll find a link to the 'Office Custom UI Editor' in the following article:
http://openxmldeveloper.org/archive/2009/08/07/7293.aspx
...Contains both Office 2007 and Office 2010 custom UI schemas ...
You have to add the schemas to the envirmonment of your xmlEditor.
eg in VisualStudio put them to ~Program Files\Microsoft Visual Studio 
9.0\Xml\Schemas

hth
WilliB


"Greg Maxey" <gmaxey@m...> schrieb im 
Newsbeitrag news:eLdE8raLKHA.3424@T......
> Hello,
>
> I think this is my first post in this group.  I am a self-proclaimed idiot 
> when it comes to XML, so please be gentle.
>
> The little that I do know about XML have been gathered in my novice 
> accomplishments using the Office 2007 CustomUI Editor (Editor) to write 
> XML that customizes the Microsoft Word Ribbon.  The Editor has some 
> significant drawbacks from other editors (Find and Replace, Search, Column 
> Mode) such as UltraEdit.
>
> The one thing that the Editor can do that others don't seem to do as well 
> is "validate" the XML written againts a file called customUI.xsd that 
> comes with the Editor.  For example, if I had a line
>
> <button idMso="FileOpen" size="gigantic" />
>
> The Editor validator would alert on "gigantic" with the following error:
>
> The size attribute is invalid.  The value 'gigantic' is invalid according 
> to its datatype. 
> 'http://schemas.microsoft.com/office/2006.01/customui:ST_SizeUI' - The
> Enumeration Contraint Failed
>
> I have opened customUI.xsd and it looks like other files that I have seen 
> that where called schemas.  UltraEdit has this feature called "XMLlint" 
> which supposedly validates XML files against some criteria.  It has about 
> 25 different check options and a "Parse" command.  The options closest to 
> a schema that I see is "Use a WC3XML schema for validation" and then a 
> text field to enter the path of the file.
>
> When I run the XMLlint validator, I am getting a bunch of reported errors 
> that are not reported using the CustomUI Editor and the one important 
> errro ("gigantic") is not reported at all.
>
> Can anyone give me any help or ideas on how a Office customUI file is 
> validated when using a 3rd party XML editor like UltrEdit?
>
> Thanks.
>
>
> -- 
> Greg Maxey
>
> See my web site http://gregmaxey.mvps.org
> for an eclectic collection of Word Tips.
>
> 



transparent
Print
Mail
Like It
Disclaimer
.

These Archives are provided for informational purposes only and have been generated directly from the Altova mailing list archive system and are comprised of the lists set forth on www.altova.com/list/index.html. Therefore, Altova does not warrant or guarantee the accuracy, reliability, completeness, usefulness, non-infringement of intellectual property rights, or quality of any content on the Altova Mailing List Archive(s), regardless of who originates that content. You expressly understand and agree that you bear all risks associated with using or relying on that content. Altova will not be liable or responsible in any way for any content posted including, but not limited to, any errors or omissions in content, or for any losses or damage of any kind incurred as a result of the use of or reliance on any content. This disclaimer and limitation on liability is in addition to the disclaimers and limitations contained in the Website Terms of Use and elsewhere on the site.

.
.

transparent

transparent