Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Modeling » M2T (model-to-text transformation) » Adding XSD for validation breaks JET transformation (0.8.x)
Adding XSD for validation breaks JET transformation (0.8.x) [message #58378] Wed, 11 March 2009 21:30 Go to next message
Doug Wilcox is currently offline Doug Wilcox
Messages: 1
Registered: July 2009
Junior Member
I've written an XSD for our JET model files. Now that they validate well
against the XSD, we have discovered that running them as inputs for JET
transformation results in numerous NullPointer Exceptions.

Our <system> element now looks like this:

<system
xmlns:tiles="tiles"
xmlns:jsp="jsp"
xmlns:html="html"
xmlns:kvl="kvl"
xmlns:c="c"
xmlns:custom="custom"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:noNamespaceSchemaLocation="../templates/crud-schema.xsd ">

If I remove the "noNamespaceSchemaLocation" attribute, the JET
transformations will work, but, of course, then I lose my ability to
validate this.

Any ideas?

Thanks.
Re: Adding XSD for validation breaks JET transformation (0.8.x) [message #58453 is a reply to message #58378] Fri, 13 March 2009 11:49 Go to previous message
Paul Elder is currently offline Paul Elder
Messages: 849
Registered: July 2009
Senior Member
Doug:

I regularly use XSDs, so nothing obvious comes to mind. What version of
JET, EMF and Eclipse are you using? And, if you could include a stack
trace from one of those NullPointerExceptions, that would be useful, too.

Paul
Previous Topic:Formatting text
Next Topic:[Announce] M2T XPAND 0.7.0 I200903160346 is available
Goto Forum:
  


Current Time: Tue Sep 02 21:20:16 GMT 2014

Powered by FUDForum. Page generated in 0.01632 seconds