Re: Expected behavior?
This WebDNA talk-list message is from 1998
It keeps the original formatting.
numero = 20478
interpreted = N
texte = >What would you expect webcatalog to do when the xxx.db file has 21 fields>in it, but the xxx.hdr file has only 20 fields?>>Would you expect the last field in the database to simply be ignored>because there's no header field for that database field? Or would the>missing header field cause webcat to parse the database incorrectly in>some or all situations, thus resulting in some bizarre responses in a>search?You can never *count on* good behavior with bad data, but WebCatalogcertainly attempts to force the columns to match up. In this case we tryto collapse all remaining data on a line into the last known field from the.hdr -- so field20 = data20
data21.When there are more headers, it tries to make the extra fields blank(empty). But it's difficult to predict what it would do if you tried tomodify those fields.Technical Support | ==== eCommerce and Beyond ====Pacific Coast Software | WebCatalog, WebMerchant,11770 Bernardo Plaza Court | SiteEdit Pro, PhotoMaster,San Diego, CA 92128 | Typhoon619/675-1106 Fax: 619/675-0372 | http://www.smithmicro.com/
Associated Messages, from the most recent to the oldest:
>What would you expect webcatalog to do when the xxx.db file has 21 fields>in it, but the xxx.hdr file has only 20 fields?>>Would you expect the last field in the database to simply be ignored>because there's no header field for that database field? Or would the>missing header field cause webcat to parse the database incorrectly in>some or all situations, thus resulting in some bizarre responses in a>search?You can never *count on* good behavior with bad data, but WebCatalogcertainly attempts to force the columns to match up. In this case we tryto collapse all remaining data on a line into the last known field from the.hdr -- so field20 = data20data21.When there are more headers, it tries to make the extra fields blank(empty). But it's difficult to predict what it would do if you tried tomodify those fields.Technical Support | ==== eCommerce and Beyond ====Pacific Coast Software | WebCatalog, WebMerchant,11770 Bernardo Plaza Court | SiteEdit Pro, PhotoMaster,San Diego, CA 92128 | Typhoon619/675-1106 Fax: 619/675-0372 | http://www.smithmicro.com/
PCS Technical Support
DOWNLOAD WEBDNA NOW!
Top Articles:
Talk List
The WebDNA community talk-list is the best place to get some help: several hundred extremely proficient programmers with an excellent knowledge of WebDNA and an excellent spirit will deliver all the tips and tricks you can imagine...
Related Readings:
Just Testing (1997)
Database Not Found Problem (2004)
More news on 5.0 (2003)
[search] & [encrypt]/[decrypt] (2001)
[LISTFILES] (1998)
WC2f3 (1997)
Here's an example of an applet in a tpl (1997)
This list needs a digest: rant, rave... (1997)
Setting user and password (1999)
REPLACE problem (2000)
2.0 Info (1997)
Looking for a Quick Solution. (1999)
Running _every_ page through WebCat-error.html (1997)
Forbidden CGI Error (1997)
[SendMail] from a form? (1998)
Recalculating Shipping Costs (1997)
WebCat2b13MacPlugin - [math][date][/math] problem (1997)
Can this be done? (2003)
Cookie woes with Mac IE4 (1998)
Re:Emailer and encryption (1997)