aboutsummaryrefslogtreecommitdiffstats
path: root/src/documentation
diff options
context:
space:
mode:
authorVincent Hennebert <vhennebert@apache.org>2011-11-24 17:15:28 +0000
committerVincent Hennebert <vhennebert@apache.org>2011-11-24 17:15:28 +0000
commitc6fb066a02573904f7ca404605f14c800adf80c5 (patch)
treed73a722e23ae74124b1bcb691d0e6f0b2f0af32f /src/documentation
parentb073a605e44760bcb7add72968a3a2f78cf06d97 (diff)
downloadxmlgraphics-fop-c6fb066a02573904f7ca404605f14c800adf80c5.tar.gz
xmlgraphics-fop-c6fb066a02573904f7ca404605f14c800adf80c5.zip
Removed the DOM representation of the structure tree.
The structure tree is now directly converted into corresponding PDF objects. When going the IF route, the structure tree is stored in the form of SAX events that will be re-played when it's time to stream them into the output. This may still change. * Extracted RFC3066 methods from XMLUtil into new LanguageTags class that can be re-used in a non-XML context. * Dropped support for accessibility in the old Area Tree XML. * Added support for the xml:lang property on fo:root, so that the global language can be set for the document without retrieving the language from the first page-sequence. * Renamed StructureTreeBuilder into more appropriate StructureTreeEventHandler (same for applicable sub-classes) * Renamed StructureTreeBuildingFOEventHandler into FO2StructureTreeConverter and added test case * Added test cases for classes in the StructureTreeEventHandler hierarchy git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/branches/Temp_ImproveAccessibility@1205935 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'src/documentation')
-rw-r--r--src/documentation/intermediate-format-ng/fop-intermediate-format-ng.xsd15
1 files changed, 11 insertions, 4 deletions
diff --git a/src/documentation/intermediate-format-ng/fop-intermediate-format-ng.xsd b/src/documentation/intermediate-format-ng/fop-intermediate-format-ng.xsd
index b6fa00bd2..86dce1a3c 100644
--- a/src/documentation/intermediate-format-ng/fop-intermediate-format-ng.xsd
+++ b/src/documentation/intermediate-format-ng/fop-intermediate-format-ng.xsd
@@ -40,10 +40,17 @@
</xs:element>
<xs:element name="header">
<xs:complexType>
- <xs:choice minOccurs="0" maxOccurs="unbounded">
- <!--xs:element ref="x:xmpmeta" xmlns:x="adobe:ns:meta/"/-->
- <xs:any namespace="##other" processContents="lax"/>
- </xs:choice>
+ <xs:sequence>
+ <xs:element name="locale" minOccurs="0" maxOccurs="1">
+ <xs:complexType>
+ <xs:attributeGroup ref="mf:foreignAtts"/>
+ </xs:complexType>
+ </xs:element>
+ <xs:choice minOccurs="0" maxOccurs="unbounded">
+ <!--xs:element ref="x:xmpmeta" xmlns:x="adobe:ns:meta/"/-->
+ <xs:any namespace="##other" processContents="lax"/>
+ </xs:choice>
+ </xs:sequence>
</xs:complexType>
</xs:element>
<xs:element name="trailer">