Kinook Software Forum

Go Back   Kinook Software Forum > Visual Build Professional > [VBP] General Discussion

Reply
 
Thread Tools Rate Thread Display Modes
  #1  
Old 04-08-2005, 04:12 AM
SamS SamS is online now
Registered User
 
Join Date: 10-12-2004
Location: London
Posts: 9
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
Reply With Quote
  #2  
Old 04-08-2005, 02:07 PM
kinook kinook is online now
Administrator
 
Join Date: 03-06-2001
Location: Colorado
Posts: 6,034
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
Reply With Quote
Reply

Thread Tools
Display Modes Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



All times are GMT -5. The time now is 11:12 AM.


Copyright © 1999-2023 Kinook Software, Inc.