Kinook Software Forum

Kinook Software Forum (https://www.kinook.com/Forum/index.php)
-   [VBP] General Discussion (https://www.kinook.com/Forum/forumdisplay.php?f=2)
-   -   Is this a bug in "Custom Actions" or did I miss something? (https://www.kinook.com/Forum/showthread.php?t=994)

SamS 04-08-2005 04:12 AM

Is this a bug in "Custom Actions" or did I miss something?
 
Hi

I've just come across something odd.

I've created a custom action and in the .Action file used the tab key to lay out the XML nicely and make it easy to read (... and adhere to our corporate standards which state that each "begin" and "end" tag statement and the data they enclose have to be on seperate lines, indented.).

When I registered the action the data in the ActionComponent registry key included the tab characters, so that the build failed with an "Invalid class string" error. Took me a day to get to the bottom of that.

Has anyone else seen this behaviour or was I just unlucky?

Sam

kinook 04-08-2005 02:07 PM

You are the first to report this problem. I don't think that it's a bug (the XML standard [1] doesn't specify whether whitespace should or should not be considered significant to an application). I do apologize that this caused some difficulty. We'll consider changing this behavior, since it does seem reasonable for whitespace to be ignored in most cases.

[1] http://www.w3.org/TR/REC-xml/#sec-white-space


All times are GMT -5. The time now is 09:40 AM.


Copyright © 1999-2023 Kinook Software, Inc.