We have to design our application to communicate to other java system with string messages. Could you guide if we can use XML to validate the message length , indivisual parameters rather than having string comparision coded for huge message.
Why cant you use xsd schema? It can define the max and min length of element text and attribute. Or you can possibly use DTD. And the most "stupid" variant. Every time you pass the XML you can add "rule" tags, for example:
[ November 25, 2008: Message edited by: Sergey Arnaut ]