Changeset 1134 for trunk/docx4j/xsd/xslfo/fop.xsd
- Timestamp:
- 07/08/10 02:58:08 (23 months ago)
- File:
-
- 1 edited
-
trunk/docx4j/xsd/xslfo/fop.xsd (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/docx4j/xsd/xslfo/fop.xsd
r1132 r1134 17 17 --> 18 18 <!-- $Id$ --> 19 <schema xmlns = "http://www.w3.org/2001/XMLSchema" targetNamespace = "http://www.w3.org/1999/XSL/Format" xmlns:fo = "http://www.w3.org/1999/XSL/Format" xmlns:xs = "http://www.w3.org/2001/XMLSchema" elementFormDefault = "qualified"> 19 <schema xmlns = "http://www.w3.org/2001/XMLSchema" 20 targetNamespace = "http://www.w3.org/1999/XSL/Format" 21 xmlns:fo = "http://www.w3.org/1999/XSL/Format" 22 xmlns:xs = "http://www.w3.org/2001/XMLSchema" 23 elementFormDefault = "qualified" 24 xmlns:jaxb="http://java.sun.com/xml/ns/jaxb" 25 xmlns:xjc="http://java.sun.com/xml/ns/jaxb/xjc" jaxb:version="2.1" 26 jaxb:extensionBindingPrefixes="xjc"> 27 28 <!-- 29 30 JAXB INSTRUCTIONS 31 32 To generate java classes, you need xjc, from the JAXB 2.1 RI. 33 34 (I used JAXB 2.1.10 included in JDK 1.6.0_15) 35 36 To generate the classes (from the same directory) 37 38 xjc fop.xsd -d ~/workspace/docx4j/src/xslfo -no-header -target 2.0 -extension 39 40 It would be nice to be able to add the fluent api 41 42 sh ~/jaxb-ri-20071219/bin/xjc.sh -classpath ~/workspace/docx4j/m2/org/jvnet/jaxb2_commons/ppp/parent-pointer-plugin/1.0/parent-pointer-plugin-1.0.jar:~/workspace/docx4j/lib/jaxb-fluent-api-2.1.8.jar -Xfluent-api -Xparent-pointer wml.xsd -d tmp/ -no-header -target 2.0 43 44 jaxb-ri-20071219 is 2.1.6; jaxb-ri-20070917 works equally well. 45 46 47 --> 20 48 21 49 <annotation> … … 105 133 106 134 </documentation> 135 136 <appinfo> 137 <appinfo> 138 <jaxb:globalBindings> 139 </jaxb:globalBindings> 140 </appinfo> 141 <jaxb:schemaBindings> 142 <!-- can be overridden on the command line with -p --> 143 <!-- A schema scope covers all the schema elements in the 144 *target namespace* of a schema. [JAXB 2.1 Spec 7.4.1] 145 146 Since all the relevant bits of wordml are in a 147 single namespace, this means we can't put for 148 example the table elements in a table package. --> 149 150 <jaxb:package name="org.plutext.jaxb.xslfo"/> 151 </jaxb:schemaBindings> 152 </appinfo> 153 107 154 </annotation> 108 155
Note: See TracChangeset
for help on using the changeset viewer.
