XSLT and XML does not match -


i have xml on doing xslt transformation. xslt receiving other source, have no control on it. problem occurs when there slight difference between xslt , xml. example xml looks this:

<a>    <b></b>    <c></c> </a> 

later xml changes this:

<a>    <b>       <c></c>    </b> </a> 

so in second case, xslt transformation throws heap space exception. there way can validate xslt against xml? want check if xslt corresponds correct xml. can tell me how can avoid outofmemory exception , if exception, how can prevent application consume jvm heap memory?

do have dtd or xml schema? can validate transformation output. validation of transformation without running it, seems run afoul of incompleteness theorem.

as preventing transformation eat memory, reliable way prevent sandboxing separate process controlled memory constraints.


Comments

Popular posts from this blog

blackberry 10 - how to add multiple markers on the google map just by url? -

php - guestbook returning database data to flash -

delphi - Dynamic file type icon -