incubator-odf-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Rob Weir <robw...@apache.org>
Subject Re: [DISCUSSION] odftoolkit-0.5-incubating-rc1 is ready
Date Tue, 29 Nov 2011 13:47:30 GMT
On Tue, Nov 29, 2011 at 5:05 AM, Devin Han <devinhan@apache.org> wrote:
> 2011/11/29 Rob Weir <robweir@apache.org>

<snip>

>> 6. We cannot include the ODF and MathML schemas in the source release.
>>  The issue is that the license for these schemas does not allow
>> modification.  So it is not "open source".  But we are allowed to have
>> our build scripts download the schemas automatically and include them
>> in binaries.  But we can't store these in our SVN or include them in
>> source releases.
>>
>> See:   http://www.apache.org/legal/resolved.html#no-modification
>>
>> Checking our source release I see these RNG schemas:
>>
>> ./odfdom/src/codegen/resources/dom/OpenDocument-v1.2-cd05-rev02-schema.rng
>> ./odfdom/src/codegen/resources/dom/OpenDocument-schema-v1.1.rng
>>
>> ./odfdom/src/codegen/resources/pkg/OpenDocument-manifest-schema-v1.2-draft7.rng
>>
>> ./generator/schema2template/src/main/resources/examples/odf/OpenDocument-schema-v1.1.rng
>>
>> ./generator/schema2template/src/main/resources/examples/odf/OpenDocument-v1.2-csprd03-schema.rng
>>
>> ./generator/schema2template/src/main/resources/examples/odf/OpenDocument-strict-schema-v1.1.rng
>>
>> ./generator/schema2template/src/main/resources/examples/odf/OpenDocument-strict-schema-v1.0-os.rng
>>
>> ./generator/schema2template/src/main/resources/examples/odf/OpenDocument-schema-v1.0-os.rng
>>
>> ./validator/src/main/resources/schema/odf1.0/OpenDocument-manifest-schema-v1.0-os.rng
>>
>> ./validator/src/main/resources/schema/odf1.0/OpenDocument-strict-schema-v1.0-os.rng
>>
>> ./validator/src/main/resources/schema/odf1.0/OpenDocument-schema-v1.0-os.rng
>> ./validator/src/main/resources/schema/mathml3.0/mathml3-deprecated.rng
>> ./validator/src/main/resources/schema/mathml3.0/algebra-logic.rng
>> ./validator/src/main/resources/schema/mathml3.0/sequences_series.rng
>> ./validator/src/main/resources/schema/mathml3.0/specfun.rng
>> ./validator/src/main/resources/schema/mathml3.0/mathml3-presentation.rng
>> ./validator/src/main/resources/schema/mathml3.0/basic-content-elements.rng
>> ./validator/src/main/resources/schema/mathml3.0/mathml3-common.rng
>> ./validator/src/main/resources/schema/mathml3.0/mathml3-pragmatic.rng
>> ./validator/src/main/resources/schema/mathml3.0/mathml3-content.rng
>> ./validator/src/main/resources/schema/mathml3.0/constants.rng
>> ./validator/src/main/resources/schema/mathml3.0/mathml3-cds.rng
>> ./validator/src/main/resources/schema/mathml3.0/mathml3-cds-pragmatic.rng
>> ./validator/src/main/resources/schema/mathml3.0/sets.rng
>> ./validator/src/main/resources/schema/mathml3.0/mathml3-strict.rng
>> ./validator/src/main/resources/schema/mathml3.0/relations.rng
>> ./validator/src/main/resources/schema/mathml3.0/calculus_veccalc.rng
>> ./validator/src/main/resources/schema/mathml3.0/linear_algebra.rng
>> ./validator/src/main/resources/schema/mathml3.0/mathml3-strict-content.rng
>> ./validator/src/main/resources/schema/mathml3.0/statistics.rng
>> ./validator/src/main/resources/schema/mathml3.0/errors.rng
>> ./validator/src/main/resources/schema/mathml3.0/mathml3.rng
>>
>> ./validator/src/main/resources/schema/odf1.2/OpenDocument-v1.2-cos01-manifest-schema.rng
>>
>> ./validator/src/main/resources/schema/odf1.2/OpenDocument-v1.2-cos01-dsig-schema.rng
>>
>> ./validator/src/main/resources/schema/odf1.2/OpenDocument-v1.2-cos01-schema.rng
>> ./validator/src/main/resources/schema/odf1.1/OpenDocument-schema-v1.1.rng
>>
>> ./validator/src/main/resources/schema/odf1.1/OpenDocument-manifest-schema-v1.1.rng
>>
>> ./validator/src/main/resources/schema/odf1.1/OpenDocument-strict-schema-v1.1.rng
>> ./validator/src/test/resources/filter.rng
>>
>>
>> So... what can we do now?  Can we download these schemas directly from
>> OASIS and the W3C, via Maven?
>>
>> The ODF schemas are available here, from OASIS:
>>
>> http://www.oasis-open.org/committees/tc_home.php?wg_abbrev=office
>>
>> The MathML schemas seem to be here:  http://www.w3.org/Math/RelaxNG/
>>
>> But this is a significant change to the build, so we'll need to be careful.
>>
>> Removing the schemas will also give us a much cleaner RAT report:
>>
>> http://ci.apache.org/projects/odftoolkit/rat-output.html
>>
>>
> Maven supplies download plugin:
> http://mojo.codehaus.org/wagon-maven-plugin/download-single-mojo.html
> I saw some other guys download third party files directly when run maven
> build process.
> we can reference their pom.xml configurations.
>

Another thought on this.  Would it work if we asked OASIS to publish
their schemas to Maven Central?  If each ODF schema has Maven POM
coordinates, then our projects (and any others) could download them
very easily.

Would this work technically?  Or is Maven Central only for JAR files?

-Rob

Mime
View raw message