I just received an e-mail asking me to clarify a statement I had made about XML support in Blackstone, a statement that was apparently misconstrued in being repeated.
No, I did not say that CFML would become an XML language that would need to validate as well-formed XML. That would not be a good thing.
What I did say is that we are planning XML validation in Blackstone. In other words, the ability to take an XML object or text and validate it against a schema or DTD. Imagine a XMLValidate(xml, schema) function, or something like that. At least, that is what is planned, but no promises. Yet. 🙂
For the love of God, make this happen!
And see what you can do about making the error reporting a little more "readable" than the standard Xerces validation error messages! (assuming MACR uses Xerces for the validation engine).
Thanks, Ben!
P.S. You losing weight? 😉
You mean like this?
DTD: http://www.cflib.org/udf.cfm?ID=1056
XSD: http://www.rewindlife.com/archives/000162.cfm
How about adding XML as a type for <cffunction>, <cfargument>, <cfparam> tags?