FypML Version 4
Post date: Nov 15, 2011 4:43:04 PM
Applicable to: Phyplot versions 0.8.2 (17 Mar 2006) through 0.8.4 (06 Sep 2006).
The line element was substantially changed. Instead of supporting adornments only at the endpoints and midpoint of the line segment, the element now accepts any number of shape elements as children. Thus, an author can create a line with any number of shapes drawn along its length or anywhere else. The endpoint/midpoint attributes p0Cap, p0CapSize, p1Cap, p1CapSize, midCap, and midCapSize have been removed from the schema. To migrate a document conforming to schema version 3, these attributes are replaced with appropriately defined shape child nodes.
Added the skip attribute to the function element, even though it is not really needed. This was a cosmetic change to bring function more in line with all the other data set element classes. No change is required during migration, since the implicit value of skip implies no skipping in the data plotted.
The symbol and symbolSize attributes on data elements have been replaced by a single required symbol child element. This element is analogous to the generic shape element, but it does not allow any children. It defines the appearance of symbols rendered at the locations of well-defined points in the data set. The new symbol element includes a title attribute, the value of which can be empty (the default) or a single character. In the latter case, the character is centered inside the symbol. To migrate from a document conforming to schema version 3, we must replace the two attributes with a single symbol child with type and size attributes set accordingly. In addition, since symbols were always stroked solid regardless of the lineType of the data set, we must explicitly set the symbol child's lineType attribute (which can be inherited from the parent data set!) to solid. Since symbolSize and symbol had document-level defaults defined on the fyp element, we need to take that into account while migrating. The corresponding type and size attributes on the symbol element do NOT have a document-level default.
To completely eliminate the attribute names symbol and symbolSize from the schema, we made several other changes: (1) The attributes were removed from the fyp element, where they specified document-level defaults. (2) The symbolSize attribute was renamed size on the legend element, but its usage was not changed.