Re: XML Syntax, Cookies and Variables....

This WebDNA talk-list message is from

2004


It keeps the original formatting.
numero = 58417
interpreted = N
texte = I'm not sure, but this sounds like XML syntax is broken. Can SMSI let the list know if these are truly bugs? I had thought about using XML syntax when updating one of my projects but now I can't even consider it. It also seems like we will need to deal with quotes in our variable or user entered text as well as the ampersand & to avoid early tag termination and/or other unexpected behavior. Is that right? Bill -----Original Message----- From: Dylan Wood Sent: Tue, 15 Jun 2004 11:18:22 -0400 To: (WebDNA Talk) Subject: Re: XML Syntax, Cookies and Variables.... Roberto- You should add that to the webdna 6.0 reference at: http://webdna.smithmicro.com/ref/index.html If you go to the setcookie and text sections, you can add a user contributed note at the bottom of the page. On Jun 15, 2004, at 11:13 AM, Roberto A. Berrospe Machin wrote: > Hello List. > I have solved another little problem... > > I have this: > > testcookie= name="test"> >

> > > This does not work... and this does not work too... > > testcookie=this is a test >

> > But if i quote the text, then the variable is set fine.... > > testcookie="this is a test" >

> > There the result is (this is a test), but here is the main problem; if > i try > to quote the getcookie, the variable isnot set... i try with... > > testcookie=" name=test>" >

> > With no result, And... > > testcookie=" name=\"test\">" >

> > With no result too... The same no result with.. > > testcookie= name="test"> >

> > > But testing and testing, i find that the next code works fine... > > testcookie=" name="test">" >

> > That about the quotes is not so good in the syntax.... Works anyway.. > but... > =) > > > Thanks.... > > Roberto Antonio Berrospe Machin > > Senior Programer / Developer / Server-Lan Manager > Virtual Job Zone Corporation. > New York - United States > http://www.virtualjobzone.com > roberth@virtualjobzone.com > Tel: 1 - 718 576 2210 > > > --- > Outgoing mail is certified Virus Free. > Checked by AVG anti-virus system (http://www.grisoft.com). > Version: 6.0.704 / Virus Database: 460 - Release Date: 12/06/2004 > > > ------------------------------------------------------------- > This message is sent to you because you are subscribed to > the mailing list . > To unsubscribe, E-mail to: > To switch to the DIGEST mode, E-mail to > > Web Archive of this list is at: http://webdna.smithmicro.com/ > ------------------------------------------------------------- This message is sent to you because you are subscribed to the mailing list . To unsubscribe, E-mail to: To switch to the DIGEST mode, E-mail to Web Archive of this list is at: http://webdna.smithmicro.com/ ------------------------------------------------------------- This message is sent to you because you are subscribed to the mailing list . To unsubscribe, E-mail to: To switch to the DIGEST mode, E-mail to Web Archive of this list is at: http://webdna.smithmicro.com/ Associated Messages, from the most recent to the oldest:

    
  1. Re: XML Syntax, Cookies and Variables.... ( devaulw@onebox.com 2004)
  2. Re: XML Syntax, Cookies and Variables.... ( Dylan Wood 2004)
  3. Re: XML Syntax, Cookies and Variables.... ( "Roberto A. Berrospe Machin" 2004)
  4. Re: XML Syntax, Cookies and Variables.... ( "Scott Anderson" 2004)
  5. Re: XML Syntax, Cookies and Variables.... ( "Roberto A. Berrospe Machin" 2004)
  6. Re: XML Syntax, Cookies and Variables.... ( "Sal D'Anna" 2004)
  7. Re: XML Syntax, Cookies and Variables.... ( "Nitai @ ComputerOil" 2004)
  8. Re: XML Syntax, Cookies and Variables.... ( devaulw@onebox.com 2004)
  9. Re: XML Syntax, Cookies and Variables.... ( Dylan Wood 2004)
  10. XML Syntax, Cookies and Variables.... ( "Roberto A. Berrospe Machin" 2004)
I'm not sure, but this sounds like XML syntax is broken. Can SMSI let the list know if these are truly bugs? I had thought about using XML syntax when updating one of my projects but now I can't even consider it. It also seems like we will need to deal with quotes in our variable or user entered text as well as the ampersand & to avoid early tag termination and/or other unexpected behavior. Is that right? Bill -----Original Message----- From: Dylan Wood Sent: Tue, 15 Jun 2004 11:18:22 -0400 To: (WebDNA Talk) Subject: Re: XML Syntax, Cookies and Variables.... Roberto- You should add that to the webdna 6.0 reference at: http://webdna.smithmicro.com/ref/index.html If you go to the setcookie and text sections, you can add a user contributed note at the bottom of the page. On Jun 15, 2004, at 11:13 AM, Roberto A. Berrospe Machin wrote: > Hello List. > I have solved another little problem... > > I have this: > > testcookie= name="test"> >

> > > This does not work... and this does not work too... > > testcookie=this is a test >

> > But if i quote the text, then the variable is set fine.... > > testcookie="this is a test" >

> > There the result is (this is a test), but here is the main problem; if > i try > to quote the getcookie, the variable isnot set... i try with... > > testcookie=" name=test>" >

> > With no result, And... > > testcookie=" name=\"test\">" >

> > With no result too... The same no result with.. > > testcookie= name="test"> >

> > > But testing and testing, i find that the next code works fine... > > testcookie=" name="test">" >

> > That about the quotes is not so good in the syntax.... Works anyway.. > but... > =) > > > Thanks.... > > Roberto Antonio Berrospe Machin > > Senior Programer / Developer / Server-Lan Manager > Virtual Job Zone Corporation. > New York - United States > http://www.virtualjobzone.com > roberth@virtualjobzone.com > Tel: 1 - 718 576 2210 > > > --- > Outgoing mail is certified Virus Free. > Checked by AVG anti-virus system (http://www.grisoft.com). > Version: 6.0.704 / Virus Database: 460 - Release Date: 12/06/2004 > > > ------------------------------------------------------------- > This message is sent to you because you are subscribed to > the mailing list . > To unsubscribe, E-mail to: > To switch to the DIGEST mode, E-mail to > > Web Archive of this list is at: http://webdna.smithmicro.com/ > ------------------------------------------------------------- This message is sent to you because you are subscribed to the mailing list . To unsubscribe, E-mail to: To switch to the DIGEST mode, E-mail to Web Archive of this list is at: http://webdna.smithmicro.com/ ------------------------------------------------------------- This message is sent to you because you are subscribed to the mailing list . To unsubscribe, E-mail to: To switch to the DIGEST mode, E-mail to Web Archive of this list is at: http://webdna.smithmicro.com/ devaulw@onebox.com

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:

Categorizing by data (2001) WCS Newbie question (1997) [WebDNA] Hosting for a customer of mine (2012) shortening the cart (1998) Multiple catalog databases and showcart (1997) WebCat B13 Mac CGI -- Frames question (1997) WC2.0 Memory Requirements (1997) WebCat2b13MacPlugin - nested [xxx] contexts (1997) IIS error and webcat (2000) WebCommerce: Folder organization ? (1997) Problem with summary on date / inconsequent webcat behaviour (1998) Windows XP and cookies (2004) Summary: Webmerchant quitting (1998) WebCatalog 2.0 b 15 mac (1997) [taxRate] [TaxTotal] ? (1997) Shownext never shows next...still (1997) [OT] Form POSTing with LONG variable (2007) Removing a character (2000) Size limit for tmpl editor ? (1997) this works sometimes and sometimes not (1997)