Rhino, Nashorn IdPV2 and Scripting

Rod Widdowson rdw at steadingsoftware.com
Thu Jul 31 02:56:07 EDT 2014


> >> Can the schema be modified to make it easier?
> >
> >I believe so - we just need to allow the StaticDataConnector to
> provide
> >attributes with no values.  I'll check tomorrow.

I made the change and indeed this works OK, further if we roll the schema
change forward to V3 nothing breaks.

> 
> Oh, I see. Actually, I sort of wanted to do that myself in some cases,
> it's kind of annoying having to put a dummy value in.
> 
> >Of course we would need to ship a release with that changed schema...
> 
> It's all a trade off obviously, but compatibility with Java 8 may
> warrant it. But then you add potential confusion by creating a
> difference in workaround approach between versions, and that has
> downsides.

I'd propose that, if the relaxing of the schema is useful even without this
need, we make the schema change in the V2 stream and the V3 stream and
document it.   Then, after we ship the next V2 release, we can then adjust
the documentation to read something like "If you are running V2.4.x or later
then you do not need to specify the dummy value, or to clear the
attributeValues in your script".

/Rod



More information about the dev mailing list