[x3d-public] GeoElevationGrid.yScale not being output by X3dToJson.xslt

yottzumm at gmail.com yottzumm at gmail.com
Fri Apr 7 10:50:59 PDT 2017


Hmm.  Another configuration which isn’t getting down to lower levels.  Bug in Nashorn?

John

Sent from Mail for Windows 10

From: Don Brutzman
Sent: Friday, April 7, 2017 12:09 PM
To: yottzumm at gmail.com; Roy Walmsley; X3D Graphics public mailing list
Subject: Re: GeoElevationGrid.yScale not being output by X3dToJson.xslt

On 4/7/2017 1:23 AM, yottzumm at gmail.com wrote:
> When set to default value 1.0 (Okay, I think, just shows up in diffs).

Yes.  The baseline setting for stylesheet output is for default attributes values to be omitted, matching X3D Canonicalization.

X3DJSAIL is similarly configured.  Programmers can change this behavior by adjusting a property:

ConfigurationProperties: setShowDefaultAttribute(boolean) and, to check current value, isShowDefaultAttribute()

Set whether default attributes (and their values) are shown when serializing scene output.
http://www.web3d.org/specifications/java/javadoc/org/web3d/x3d/jsail/ConfigurationProperties.html#setShowDefaultAttributes-boolean-

Indicate whether default attributes (and their values) are shown when serializing scene output.
http://www.web3d.org/specifications/java/javadoc/org/web3d/x3d/jsail/ConfigurationProperties.html#isShowDefaultAttributes--

If you think it is valuable, I will add a similar parameter in the X3dToJava.xslt converter that produces verbose Java output.  That might be useful for author prototyping, perhaps making it easier to change values.

Thanks for identifying this.  Conceptually we want to might have similar or matching options like this in our JavaScript, Java and XSLT conversion tools.

all the best, Don
-- 
Don Brutzman  Naval Postgraduate School, Code USW/Br       brutzman at nps.edu
Watkins 270,  MOVES Institute, Monterey CA 93943-5000 USA   +1.831.656.2149
X3D graphics, virtual worlds, navy robotics http://faculty.nps.edu/brutzman

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://web3d.org/pipermail/x3d-public_web3d.org/attachments/20170407/c3fefe71/attachment.html>


More information about the x3d-public mailing list