I don't consider this incompatible, I consider this inconsistent with the way 
other similiar records work, aka the query example Alex just highlighted.

Will take a look at this soon.
--
 http://alan.blog-city.com/

-----Original Message-----
From: Alex Skinner <[email protected]>
Sender: [email protected]
Date: Sat, 20 Aug 2011 08:55:34 
To: <[email protected]>
Reply-To: [email protected]
Subject: Re: [OpenBD] Bug: XML incompat

I don't agree with that, there are a great many examples of what we might
deem illogical behaviour but unfortunately compatibility is important. Take
the following example

<cfquery datasource="foobar" name="qTest">
SELECT firstname,surname
from exampleTable
</cfquery>

Lets say this brings back 2 rows

<cfoutput>
#qTest.firstname# #qtest.surname#
</cfoutput>

As we know this outputs the first record, we of course support this but
arguably I should have to either specify the query parameter on the cfoutput
tag or use the array style syntax to output just the first record, I of
course don't have to. To me the XML example adam posts is similar CF guesses
you want the first one.

My 2p

Alex
--
Alex Skinner
Managing Director
Pixl8 Interactive

Tel: +448452600726
Email: [email protected]
Web: pixl8.co.uk

--
official tag/function reference: http://openbd.org/manual/
 mailing list - http://groups.google.com/group/openbd?hl=en

-- 
official tag/function reference: http://openbd.org/manual/
 mailing list - http://groups.google.com/group/openbd?hl=en

Reply via email to