not sure if it's explicitly documented...but the form scope (all scopes, afaik) are structures (I know somebody's going to correct me and point out at least one that isn't)...

therefore, structure notation (which allows you to get away with some funky naming conventions, as you see) is perfectly acceptable.

: )

  ----- Original Message -----
  From: Houk, Gary
  To: CF-Talk
  Sent: Thursday, January 08, 2004 1:39 PM
  Subject: RE: Problems parsing CXML with CF...

  Where is THAT documented?!

  You guys rock, thanks!!!

  - Gary

  -----Original Message-----
  From: Barney Boisvert [mailto:[EMAIL PROTECTED]
  Sent: Thursday, January 08, 2004 3:14 PM
  To: CF-Talk
  Subject: RE: Problems parsing CXML with CF...

  <cfdump var="#form['cxml-urlencode']#" />

  > -----Original Message-----
  > From: Houk, Gary [mailto:[EMAIL PROTECTED]
  > Sent: Thursday, January 08, 2004 12:07 PM
  > To: CF-Talk
  > Subject: RE: Problems parsing CXML with CF...
  >
  > I realized that in the zip file they sent me they included a
  > copy of the
  > dtd. I just copied the file to my server, used replace() to swap their
  > server path for mine, and it worked perfectly!
  >  
  > The main problem I'm having now is that the name of the formfield that
  > they use has a dash in it, and CF doesn't like that. Is there
  > any way I
  > can work around it? If I do <cfdump var="#form#">
  > I can see the field and the cxml value just fine. However, I can't
  > reference it as <cfdump var="#form.CXML-URLENCODE#">  
  >  
  > Any ideas?!
  >  
  > - Gary
  >  
  > -----Original Message-----
  > From: Massimo, Tiziana e Federica [mailto:[EMAIL PROTECTED]
  > Sent: Thursday, January 08, 2004 2:51 PM
  > To: CF-Talk
  > Subject: Re: Problems parsing CXML with CF...
  >  
  > > Is there a way I can just eliminate dealing with the DTD at all by
  > > somehow removing that line/entry?
  >
  > Unless you can fix the DTD on the server I guess you can only
  > remove the
  > DOCTYPE declaration before parsing the file. Unfortunately
  > this may have
  > potentially negative side-effects, since the XML parser would
  > be unable
  > to
  > expand entities. The sample XML you posted has none of them,
  > but the DTD
  > specify a few entities that are valid for the schema and
  > could be used.
  >
  > A decent compromise could be to copy the DTD on your system, fix it,
  > then
  > change the DOCTYPE to let it point to your local copy of the
  > DTD... Not
  > very
  > elegant, but it should do the job
  >
  > ----------------------------
  > Massimo Foti
  > http://www.massimocorner.com
  >
  > Co-Author of Dreamweaver MX 2004 Magic:
  > http://www.dwmagic.com/
  >   _____  
  >
  >
  >
    _____
[Todays Threads] [This Message] [Subscription] [Fast Unsubscribe] [User Settings]

Reply via email to