This week's book giveaway is in the OCAJP 8 forum. We're giving away four copies of OCA Java SE 8 Programmer I Study Guide and have Edward Finegan & Robert Liguori on-line! See this thread for details.
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 ]