[XML-DEV Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message] Re: transformations
Paul Tchistopolskii wrote: > ... > I can provide other particular cases when XSLT 'fails'. Anything sensitive > to mistyping of one letter is the case, for example. XSLT is in fact 'write-only' > language with almost no guards against mistypings. Mistype one letter > in any Xpath ( like it is "in any perl regular expression" ) - and pray that you'l > capture this error before it goes to production (if it resides in not obvious > branch of the processing). And now imagine somebody modifying the code > written by other person and mistyping the letter, or ... sorry ... nevemind... Hey, what if XSLT stylesheets could be checked against a DTD or schema for the documents that would be transformed by that stylesheet? I wonder what fraction of typos (e.g., misspelled element names) and logic errors (e.g., X/Y when X can't have Y children anyway) such checking could detect. Daniel -- Daniel Barclay Digital Focus Daniel.Barclay@d...
|
PURCHASE STYLUS STUDIO ONLINE TODAY!Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced! Download The World's Best XML IDE!Accelerate XML development with our award-winning XML IDE - Download a free trial today! Subscribe in XML format
|