2.9.2 Compatibility
2.9.2.1 Document type specific stylesheet
There is small difference in the output of the publisher requests which influences the document type specific stylesheets. Don't worry, it is a very minor change, depending on how your stylesheets are written they might even require no change at all.
Where the input previously contained this element hierarchy:
document > d:document
it has now become:
document > p:publisherResponse > d:document
Where "p:" is the publisher namespace, thus bound as:
xmlns:p="http://outerx.org/daisy/1.0#publisher"
If you want to have stylesheets that work with both releases, you can write them so that they first test for the presence of document/d:document and if not available use document/p:publisherResponse/d:document
2.9.2.2 Custom styling: attributes on links
The links in document content were previously annotated with the attributes daisyDocumentName, daisyFileName and daisyNavigationPath. These have been removed in favour of a more powerful system, as explained in this mail.
If you have custom document type specific XSLs or book publication types, you might want to do a search for @daisyDocumentName used in XPath expressions, and replace it by p:linkInfo/@documentName, the p prefix should be declared as:
xmlns:p="http://outerx.org/daisy/1.0#publisher"
2.9.2.3 Auto-redirecting between sites
The Daisy Wiki now has the ability to automatically redirect to another site if a document is better suited to be displayed over there. This is enabled by default, and can be disabled by adding the following element in the skinconf.xml of each site for which you want to disable this:
<siteSwitching mode="stay"/>
2.9.2.4 Field type in HTTP interface
A small change has been done to the field type XML. If you have any programs making direct use of the HTTP interface, you'll need to adjust them.
Where you previously had a <d:selectionList> element for specifying a static selection list, the <d:selectionList> element now contains an extra <d:staticSelectionList> element which then contains the elements previously contained in <d:selectionList>. This change was done to allow for alternative selection list implementations.
2.9.2.5 Publisher XML Beans generated classes
Applies when using custom publisher requests build up via the Java objects (instead of written in XML).
The structure of the XML Schema for the publisher requests has changed a little bit, which has caused some small changes in the nesting of the classes generated by XMLBeans for this XML Schema. Adjusting your code for this is straightforward.
Previous