From: Casey J. <cas...@jo...> - 2011-12-28 18:31:56
|
Since eXist has its own XQuery analyzer/compiler, would it be possible to enforce custom rules. Say a rule to force the developer into declaring certain variables in particular files? For example, we have "instance.xql" files in our application, which need to take a specific form. In the prolog I would like to force the developer to define a variable like: declare variable $app-name = "somevalue"; And, if the compiler did not encounter this, it would throw an error? Thanks, Casey -- -- Casey Jordan easyDITA a product of Jorsek LLC "CaseyDJordan" on LinkedIn, Twitter & Facebook (585) 348 7399 easydita.com This message is intended only for the use of the Addressee(s) and may contain information that is privileged, confidential, and/or exempt from disclosure under applicable law. If you are not the intended recipient, please be advised that any disclosure copying, distribution, or use of the information contained herein is prohibited. If you have received this communication in error, please destroy all copies of the message, whether in electronic or hard copy format, as well as attachments, and immediately contact the sender by replying to this e-mail or by phone. Thank you. |