Encoding Changes

Error message

Deprecated function: The each() function is deprecated. This message will be suppressed on further calls in book_prev() (line 775 of /home/drbiz/public/tools.realism.com/modules/book/book.module).

Primary tabs

Encoding issues or differences with V3 XML Encoding

  • HTML is case insensitive
  • Some HTML tags are null-closing (don't need an explicit closing tag and are not self-closing)
  • All HTML elements can have id attribute value. If present, the value must be unique within the HTML
  • Move some data into (new) child elements. This might also be reflected in the Abstract portion as it requires a new structure. There is a longer discussion below

 

Child Elements

These are changes that are proposed to various encodings. Mostly these change the XML encoding, moving data from attributes to child elements. To maintain compatibility with the past, it is proposed that the use of attributes be supported as a deprecated feature.

The basic idea is for all data that currently (V3.3) resides in attributes that is large or comprises multiple text strings be moved to child elements of the same name as the attribute. This is in keeping with standard XML practices for attributes and elements and allows the use of CDATA to contain text that would otherwise need to be escaped. The specific nodes are listed below. Nodes listed below may be deprecated or unsupported for this release. In that case, no change is proposed for those nodes.

  • Nodes with url fields
    • AudioClip?
    • Background
    • Inline
    • TextureBackground
  • Interpolator Nodes
    • Chaser
      • Color Chaser
      • CoordinateChaser
      • OrientationChaser
      • PositionChaser
      • ScalarChaser
      • TexCoordChaser2D
    • Damper
      • ColorDamper
      • CoordinateDamper
      • OrientationDamper
      • PositionDamper
      • ScalarDamper
      • TexCoordDamper2D
    • Liner Interpolator
      • ColorInterpolator
      • CoordinateInterpolator
      • CoordinateInterpolator2D
      • GeoPositionInterpolator
      • NormalInterpolator
      • NurbsOrientationInterpolator
      • NurbsPositionInterpolator
      • OrientationInterpolator
      • PositionInterpolator
      • ScalerInterpolator
      • SplinePositionInterpolator
      • SplinePositionInterpolator2D
      • SquadOrientationInterpolator
  • Nodes with text string fields
    • MetadataSet?
    • MetadataString
    • Text
    • WorldInfo
  • Nodes with Coordinates
    • ElevationGrid
    • Extruision
    • IndexedFaceSet
    • IndexedLineSet
    • IndexedQuadSet
    • IndexedTriangleFanSet
    • IndexedTriangleSet
    • IndexedTriangleStripSet
    • LineSet
    • MultiTextureCoordinate
    • Normal
    • PointSet
    • Polyline2D
    • Polypoint2D
    • QuadSet
  • Other Nodes?
    • ComposedShader
    • ComposedTexture3D
    • GeoCoordinate
    • H-Anim Nodes
    • PixelTexture
    • PixelTexture3D
    • Script