Skip to main content



      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 17:30 Go to next message
Eclipse UserFriend
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 07:49 Go to previous message
Eclipse UserFriend
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: Wed Apr 30 08:54:18 EDT 2025

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

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

Back to the top