Hi Jerry,

Sorry for this - I think your problem is caused by a strange combination of
circumstances which I discovered recently. Here's the rather geeky email I
posted to our technical team about it:

----+

just had a weird error while making a change to the CMS, and it turns out
that when you use // style comments in cfscript:

// this is a comment
foo = var;

and edit the files using a mac, and don't ftp the files (but save them to
disk) then you get this error:

http://macromedia.com/support/ultradev/ts/documents/preview_cfml_error.htm

In other words:

if ((use cfscript) && (use // comments) && (use mac) && (don't ftp)) {
    set dos-style line breaks in bbedit; }
    else {
    weird error occurs;
    }
    }

---+

I've now modified the tag so that it uses /* style comments in the cfscript
blocks - I hope this solves your problem. You can download the modified
version from 

http://torchbox.com/xml

I've copied this email to the cf-xml mailing list, which you're very welcome
to join:

mailto:[EMAIL PROTECTED]?subject=subscribe

Best wishes

Tom

on 27/6/01 4:26 pm, Jerry Travioli at [EMAIL PROTECTED] wrote:

> First of all, Hello and Thank you for sharing your work!
> 
> I have an application in which I need to parse a file on a remote server.
> This file is in xml format and I need to select about 20 variables from the
> file daily.  It was my hope that your custom CF tag would assist me in doing
> so.
> 
> I loaded the 'xmlquery.cfm' into the custom tag directory on our CF server
> and attempted to run your example file and got the following error:
> 
> ====================================
> Error Diagnostic Information
> Context validation error in tag CFSCRIPT
> 
> The tag is not correctly positioned relative to other tags in the template:
> tag CFSCRIPT must have some content. This means that there must be at least
> one tag, some text, or even just whitespace characters between the
> <CFSCRIPT> and </CFSCRIPT> markers.
> 
> This problem may be due to a CFML comment that has no end comment mark.
> 
> The error occurred while processing an element with a general identifier of
> (CFSCRIPT), occupying document position (1:2977) to (1:2986).
> ====================================
> 
> My configuration is as follows: NT4.0, IIS 4.0, CF 4, MSXML 3.0SP1
> 
> Please forward to me your recommendations on how I can fix this problem.
> 
> Thanks again,
> Jerry Travioli


-----------------------+
cf-xml mailing list
[EMAIL PROTECTED]
http://torchbox.com/xml

Reply via email to