[tei-council] TEI-Lite XSD (fwd)
David Sewell
dsewell at virginia.edu
Fri Feb 7 09:23:42 EST 2014
Bug report concerning a TEI Lite schema. I will let Stelian know that Council
has received his note,
David
---------- Forwarded message ----------
Date: Fri, 7 Feb 2014 14:27:32 +0100
From: Stelian Dumitrescu <stelian.dumitrescu at sciencespo.fr>
To: web at tei-c.org
Subject: TEI-Lite XSD
Hello,
I think there is a problem in the last TEI-Lite XSD schema. This schema depends on tei-enrich.xsd and both files contain the same object definition :
<xs:simpleType name="data.certainty">
<xs:restriction base="xs:token">
<xs:enumeration value="high"/>
<xs:enumeration value="medium"/>
<xs:enumeration value="low"/>
<xs:enumeration value="unknown"/>
</xs:restriction>
</xs:simpleType>
I noticed you have updated the XSD schemas on January 20th. Is it possible to correct this issue ? Or can I have access to the previous schemas definitions ? I am developing a java application using this metadata format and unfortunately I can’t build the project anymore.
You can try to set up a java / maven 3 project using the following pom file.
Regards,
Stelian
<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd">
<modelVersion>4.0.0</modelVersion>
<groupId>fr.scpo</groupId>
<artifactId>my-project</artifactId>
<packaging>jar</packaging>
<name>test</name>
<build>
<plugins>
<plugin>
<groupId>org.jibx</groupId>
<artifactId>jibx-maven-plugin</artifactId>
<version>1.2.5</version>
<executions>
<execution>
<id>generate-java-code-from-schema</id>
<goals>
<goal>schema-codegen</goal>
</goals>
</execution>
<execution>
<id>compile-binding</id>
<goals>
<goal>bind</goal>
</goals>
</execution>
</executions>
<configuration>
<schemaLocation>http://www.tei-c.org/release/xml/tei/custom/schema/xsd/</schemaLocation>
<includeSchemas>
<includeSchema>tei_lite.xsd</includeSchema>
</includeSchemas>
<includeBaseBindings>
<includeBaseBinding>
<groupId>fr.myproject</groupId>
<artifactId>tei</artifactId>
<directory>META-INF</directory>
<includes>
<include>binding.xml</include>
</includes>
</includeBaseBinding>
</includeBaseBindings>
</configuration>
</plugin>
<dependencies>
<dependency>
<groupId>org.jibx</groupId>
<artifactId>jibx-run</artifactId>
<version>${jibix.run.version}</version>
</dependency>
</dependency>
</dependencies>
</project>
More information about the tei-council
mailing list