[Rets-dev] Search responses and StandardNames
Scott Gifford
sgifford at suspectclass.com
Wed Feb 21 00:56:44 CST 2007
"Sergio Del Rio" <sergio at mris.com> writes:
> I would have to disagree with (4) and (5) below. I guess it is an
> interpretation issue with the specification though. It seems quite
> reasonable to me that if you query with StandardNames=1 the you could, and
> perhaps should, get ONLY the names that are defined in the Standard Names
> DTD as output whether you are asking for XML or you are asking for
> COMPACT/COMPACT-DECODED.
>
> The specification does not explicitly state anywhere that you MUST or MUST
> NOT send back System names or Standard Names when COMPACT or COMPACT-DECODED
> are specified. It is ambiguous on this point. Therefore, I would say that
> what comes back is dependent on the server implementation. Some servers
> will return Standard Names ONLY (such as ours) when you ask for
> StandardNames as that was the interpretation.
This is also what the reference server seems to do, and it makes the
most sense to me, so I have implemented it this way for now. I
couldn't quite stomach a query saying:
Select=ListPrice
and returning a column called LIST_PRICE instead. I will see if
anybody complains, and adjust accordingly. :-)
Thanks for everybody's help!
----Scott.
More information about the Rets-dev
mailing list