Wednesday, January 19, 2005

Don't use "transaction" as the name of your root node in an XML schema

Especially if you ever hope to integrate with someone who uses BizTalk. Apparently, "transaction" is an XLANG/s reserved keyword in BizTalk 2004.

This is the type of error to expect in BizTalk...

MyOrchestration.odx(92,52):
error X2254: unexpected keyword: 'transaction'
error X2011: expected 'identifier'
error X2016: unexpected token: '.'
error X2157: '': a part of a non-method messagetype must be of class type


See this msdn article for all of the XLANG/s reserved keywords...
http://msdn.microsoft.com/library/default.asp?url=/library/en-us/sdk/htm/ebiz_prog_orch_nozn.asp

This also led to me figuring out what that language is that BizTalk uses in the expression editor...

Comparing XLANG/s and C#

No comments: