[x3d-public] ProtoInstance problems, X3DUOM, X3DJSAIL.
John Carlson
yottzumm at gmail.com
Tue Sep 5 06:27:37 PDT 2017
I just want to be sure we can generate a JSON schema validation in
JavaScript and other languages that will handle all cases of @USE use or
non-use with oneOf at this point. My current issue appears to be the lack
of a ProtoInstance property underneath -material. Fixed, but requires
patch to X3DUOM, I believe. More testing is needed on x3d resources files
with the new mostly generated 3.3 Json schema, not checked in currently,
but delivered to everyone I believe via email.
I would also like the complaints of no ProtoInstance name to go away in
X3DJSAIL, when I am plainly providing a name. If I provide a name and a
USE, there should be a better error, I believe. I do not think there are
any instances left of this dual use in my java, but I am still getting the
complaints. Huh? See what happens when I don't have a DEF for a
ProtoInstance. I will try to prioritize this.
John
On Sep 4, 2017 10:37 PM, "Don Brutzman" <brutzman at nps.edu> wrote:
> None of the rules are changed. None of the XML .x3d versions or
> specifications are changed.
>
> The only change was a bugfix to remove excess output produced by XSLT
> conversion stylesheet X3dToVrml97.xslt, which is used for converting XML
> .x3d scenes into either VRML97 .wrl scenes or ClassicVRML .x3dv scenes.
>
> No effect on X3DJSAIL since it doesn't use the stylesheet, rather it has
> serializer outputs for .x3d .x3dv and .wrl formats. No effect on class
> hierarchy in X3D Unified Object Model.
>
> Syntax and semantics for DEF/USE in VRML syntax are well described by the
> specifications, VRML Sourcebook, etc. No change there either.
>
> You may be thinking of the following Mantis issue, which is almost (but
> not yet fully) resolved/implemented:
>
> 19776-1 (XML) 4.3.10 ProtoInstance and fieldValue syntax -
> ProtoInstance USE requirement for name field should be removed
> http://www.web3d.org/member-only/mantis/view.php?id=1168
>
> We should finish that one on weekly Mantis issue call this Thursday, I
> hope. You are welcome to join us if you want.
>
>
> On 9/4/2017 4:37 PM, John Carlson wrote:
>
>> I guess this means that name is not a required field in ProtoInstance?
>> Or not? Is this updated in X3DJSAIL yet? Are we hunting down the name
>> via USE, requiring name, or creating a new tag in XML? And a new class
>> inherited from ProtoInstance in Java? Does the code generating X3DJSAIL
>> code need to find the name and populate it? What if USE is used and name
>> is wiped out?
>>
>> Thanks,
>>
>> John
>>
>> Any decision made that I can take action on?
>>
>> On Sep 4, 2017 6:27 PM, "Don Brutzman" <brutzman at nps.edu <mailto:
>> brutzman at nps.edu>> wrote:
>>
>> Found and fixed a longstanding undetected error in the X3D to
>> (Classic) VRML
>> conversion spreadsheet: prototype instances mistakenly had their name
>> repeated as a field.
>>
>> Example scene:
>>
>> http://x3dgraphics.com/examples/X3dForWebAuthors/KelpForestE
>> xhibit/CircleFishPrototypeIndex.html
>> http://x3dgraphics.com/examples/X3dForWebAuthors/KelpForestE
>> xhibit/CircleFishPrototype.x3dv
>> http://x3dgraphics.com/examples/X3dForWebAuthors/KelpForestE
>> xhibit/CircleFishPrototype.wrl
>>
>> original source .x3d excerpt:
>>
>> <ProtoInstance name='CircleFish'/>
>>
>> mistakenly/inadvertently translated as:
>>
>> CircleFish {
>> name "CircleFish "
>> }
>>
>>
>> now correctly translated as:
>>
>> CircleFish {
>> }
>>
>> Please update any local archives you might have.
>>
>> http://www.web3d.org/x3d/content/examples/X3dResources.html#Examples
>>
>> Trouble reports with VRML97/ClassicVRML test suite examples and
>> conversions
>> are always welcome. We don't have a validator for these, so issues
>> are welcome.
>>
>> Have fun with VRML97 and ClassicVRML prototypes! 8)
>>
> 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/brutzma
> n
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://web3d.org/pipermail/x3d-public_web3d.org/attachments/20170905/a9a4f6e9/attachment.html>
More information about the x3d-public
mailing list