[x3d-public] MFString quoting [was: interesting sample] Java escaping example

Don Brutzman brutzman at nps.edu
Sat May 6 11:09:48 PDT 2017

[subject: now Java]

Yes thanks.  Added as a TODO item.

On 5/6/2017 3:47 AM, Yves Piguet wrote:
> XML entities belong to X3D-XML (ISO 19776-1), not any other non-XML encoding or SAI implementation (19775-2) or language binding (19777-*).
> Now in a Java implementation of import/export to X3D-XML, XML entities should be implemented somewhere, probably hidden in a generic XML library.
> Yves
>> On 6 May 2017, at 12:32, yottzumm at gmail.com wrote:
>> I don’t know if using XML entities in Java is kosher.  I think UTF-8 would be better.  What do you think?
>> John

Agreed.  There are some internationalization scenes that are not converting properly.  Added as a TODO item.


* Internationalization (I18N): confirm proper handling of XML character entities and UTF-8 characters, both in Java source and when serializing to other X3D encodings.

	X3D Example Archives: X3D for Advanced Modeling, Hello World Scenes

	"X3D scene models typically use the UTF-8 character encoding which is capable of representing all possible characters used in human languages."


p.s. no HelloWorld scenes with French or German yet?!  :o

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

More information about the x3d-public mailing list