Receipt.xml -- token not found error

Hi All,

I have RMS 1.3R1 installed on two computers I use for testing. Both are running XP/SP2 and SQL Server 2005 Standard. I was trying out printing receipts the other day and was working with the Receipts Formats windows (Database | Registers | Receipt Formats). When I tried to view the properties of the default "40 Column Receipt Format", I get a series of errors like: "XML Render: Compiler Error: Token 'transactionAbortedTransaction)' was not found.". The Receipt Properties with a graphic view of the receipt will eventually display, but I will always get these errors before I can view it. Same for the other default receipt formats.

However, on my other computer I don't see these errors. After a little investigation, I found that the problem seems to be parentheses in the XML. (The XML validated correctly with a validation tool, so it doesn't appear to be with mismatched parentheses or quotes as one suggestion I found mentioned.) If you add a space after an opening parenthesis and one before the closing one, the Compiler Errors disappear. I tried uninstalling and reinstalling RMS, but that didn't solve the problem--only by editing the XML did I fix it.

Has anyone else seen this problem? Could there be a difference between XML components being used on these two computers? If so, what should I look for?

While I've solved the problem, it's still bugging me that RMS would install successfully and then exhibit these bugs.

thanks, randy

Reply to
Randy B.
Loading thread data ...

Hi All,

I have RMS 1.3R1 installed on two computers I use for testing. Both are running XP/SP2 and SQL Server 2005 Standard. I was trying out printing receipts the other day and was working with the Receipts Formats windows (Database | Registers | Receipt Formats). When I tried to view the properties of the default "40 Column Receipt Format", I get a series of errors like: "XML Render: Compiler Error: Token 'transactionAbortedTransaction)' was not found.". The Receipt Properties with a graphic view of the receipt will eventually display, but I will always get these errors before I can view it. Same for the other default receipt formats.

However, on my other computer I don't see these errors. After a little investigation, I found that the problem seems to be parentheses in the XML. (The XML validated correctly with a validation tool, so it doesn't appear to be with mismatched parentheses or quotes as one suggestion I found mentioned.) If you add a space after an opening parenthesis and one before the closing one, the Compiler Errors disappear. I tried uninstalling and reinstalling RMS, but that didn't solve the problem--only by editing the XML did I fix it.

Has anyone else seen this problem? Could there be a difference between XML components being used on these two computers? If so, what should I look for?

While I've solved the problem, it's still bugging me that RMS would install successfully and then exhibit these bugs.

thanks, randy

Reply to
CptSoft

Jeff,

Thanks for the reply. I have both computers up-to-date with Windows updates, including IE7. I'll check which versions of MSXML I have on each machine and report back if there's a difference.

thanks, randy

The .xml used in receipt templates is kinda funky and will occasionally do strangeness.

One thing to make sure is though is to make sure that you have all Windows updates installed as there have been a few MSXML updates a while back

Reply to
Randy B.

FYI: I found both computers running the same versions of MSXML6.DLL (6.0.3890.0) and MSXML.DLL (8.0.7002.0). There are older versions of MSXML on both computers, but I was unable to determine (with some low level tracking tools) which version RMS was using.

I'm hoping with RMS 2.0 out now, all of this will be OBE (overcome by events).

later, randy

Reply to
Randy B.

FYI: I found both computers running the same versions of MSXML6.DLL (6.0.3890.0) and MSXML.DLL (8.0.7002.0). There are older versions of MSXML on both computers, but I was unable to determine (with some low level tracking tools) which version RMS was using.

I'm hoping with RMS 2.0 out now, all of this will be OBE (overcome by events).

later, randy

Reply to
CptSoft

Randy,

One other thing to check, make sure that you have any message lines in any receipt footer lines surrounded in double quotation marks

Otherwise post it here and we can take a look at it.

--

Jeff Check Point Software

==================================================== You must be using Outlook Express/Windows Mail or some other type of newsgroup reader to see and download the file attachment(s). If you are not using a reader, follow the link below to setup Outlook Express. Click on "Open with newsreader" under the MS Retail Management System on the right.

formatting link

Reply to
Randy B.

BeanSmart website is not affiliated with any of the manufacturers or service providers discussed here. All logos and trade names are the property of their respective owners.