Altova Mailing List Archives>Archive Index >microsoft.public.xml Archive Home >Recent entries >Thread Prev - Office 2007 RibbonX (XML) Validation [Thread Next] Re: Office 2007 RibbonX (XML) ValidationTo: 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.
>
>
| ||||||
| Company | Legal | Press | Partners | Careers | Sitemap | Contact Us | Altova Blog | Mobile | Full Site | |||
|
