further question about XLAM menu- Fluent IRibbon

G

Guest

Hello all, again.
As previously stated, I've got my menu structure, and all of the macros that
I've assigned thus far are working well.
In going through and editing the menu in the Custom UIEditor, I've been
copying, and pasting macro names (out of a list I made in notepad. I took my
entire macro module, and copied it out of the VBeditor in Excel, and pasted
it into notepad. This helped me identify the names of all of my macros for my
menu. I've then been copying, and pasting the label name, and onAction
command from that notepad list), and menu label names to save myself
extensive typing.
And yes, I save it about every 10 or so entries. However, I have not been
validating it but once every 100 or so entries.
My last validation has resulted in an error that I just plain cannot
identify the fix to. So much so, that I've begun wondering if I've corrupted
the menu file.
I get the following error when I go to validate the file, and below that is
the code for that line.

Not a valid XML document!
Name cannot begin with the '6' character, hexidecimal value 0x36. Line 628,
Position 81.

Line 628, reads as follows:

<button id="__id718b" label="DTR-613" onAction="DTR613" />

My attempted solutions were to remove just the "DTR613" in the onAction
code. That has not worked. I then erased the entire line, and re-entered it--
twice. I've also closed, and reopened the file to see if that was it. that
didn't resolve the issue either.
Position 81, fwiw, is the # 3 within the onAction.

I also just removed the contents of the label, and onAction, changed them to
another value- in this case X, which I had prior to entering the DTR-613, and
I still obtained the same identical error-- 6 is not a valid character.

does anybody have any ideas?
Is it possible to corrupt these files by entering too much data, and not
validating often enough?
I've got a total of 916 lines in the menu code. Have I exceeded the limit?

In advance, as always, thank you.
 
R

Ron de Bruin

This line is not the problem
I test it in another sample without the error
I've got a total of 916 lines in the menu code. Have I exceeded the limit?
No idea

You can send me the file private and I look at the xml for you
Maybe I see the problem
 
G

Guest

Hi Ron.
I found it about ten minutes later.
I'd inadvertantly placed a 623 outside of the double quotes on an
onAction="DTR"623.
Turns out that it was some 5 lines below where the error message said it was
located. Which of course was why it eluded me.
Thanks for your quick response.
Best.
SteveB.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top