Validate then transform?
Posted: Fri Nov 16, 2012 12:44 am
We have a problem with authors using the transformation scenarios set up for them with non-valid XML. After the resulting HTML/JS/CSS files don't work, our team receives bug tickets.
Initial brainstorming included:
1. Force a validation before transformation.
2. Move the transformations out of the scenarios view, make them actions, add them to the toolbar, and make them only available if the current document is valid.
3. Tell authors, "Don't do that."
After brainstorming we hit the software, manuals, and web for answers. We then concluded that our only option was to tell our authors, "Don't do that." Not a very compelling story.
Searching the forums, I came across this thread: http://www.oxygenxml.com/forum/post1635 ... ion#p16350
It was posted in 2005. I haven't seen any updates on the topic since then and can't find any other information concerning the issue. Am I missing something in Oxygen 14.1?
I need this:
1. Automatic validating during authoring. (have it already)
2. Transformation input to allow for a validation scenario. (must have)
3. Transformation output to allow for validation scenario. (nice to have, it trust my own xslt)
4. If the input validation, transformation (for some reason), or the output validation fails, the whole transformation should fail with the appropriate error.


Initial brainstorming included:
1. Force a validation before transformation.
2. Move the transformations out of the scenarios view, make them actions, add them to the toolbar, and make them only available if the current document is valid.
3. Tell authors, "Don't do that."
After brainstorming we hit the software, manuals, and web for answers. We then concluded that our only option was to tell our authors, "Don't do that." Not a very compelling story.
Searching the forums, I came across this thread: http://www.oxygenxml.com/forum/post1635 ... ion#p16350
It was posted in 2005. I haven't seen any updates on the topic since then and can't find any other information concerning the issue. Am I missing something in Oxygen 14.1?
I need this:
1. Automatic validating during authoring. (have it already)
2. Transformation input to allow for a validation scenario. (must have)
3. Transformation output to allow for validation scenario. (nice to have, it trust my own xslt)
4. If the input validation, transformation (for some reason), or the output validation fails, the whole transformation should fail with the appropriate error.

