Skip to main content


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 WilcoxFriend
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 ElderFriend
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: Fri Mar 29 02:22:24 GMT 2024

Powered by FUDForum. Page generated in 0.03448 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top