joedanz / cf-amazon-s3

ColdFusion Amazon S3 REST Wrapper
amazons3.riaforge.org
Other
8 stars 5 forks source link

[Fix] Unable to process the result of the XMLSearch for unexpected colon at start of token. #4

Open shawn-ycx opened 6 years ago

shawn-ycx commented 6 years ago

I was getting this error with CF 10 while trying to getBuckets().

Update the component with lines bellow to fix the error in s3.cfc line:83 change <cfset buckets = xmlSearch(data, //:Bucket)> to <cfset buckets = xmlSearch(data, //*[local-name()='Bucket'])>