Skip to Main Content

Java EE (Java Enterprise Edition) General Discussion

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

Validation of all possible results of XSL transformation

843834Apr 8 2008 — edited Apr 9 2008
Hallo ladies and gentlemen,

I spent a lot of time trying to find existing solution for very simple and in my opinion common task � validate XSL files that transform XML to XML. It's needed to be sure that all variants of transformed XML files will be valid (because there are a lot of variants of input data so there are a lot of variants of output data).

The idea has 2 steps.

The first step is to get the list of input XPaths from XSL (XPaths from input XML which are used in transformation process) and list of output XPaths from XSL (XPaths from output XML which are created in transformation process).

The second step is validation XPaths from input XML (that can be based on XSD of input XML) and validation XPaths from output XML (that can be based on XSD of output XML).

Thanks in advance,

Sergey.
Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on May 7 2008
Added on Apr 8 2008
4 comments
87 views