Skip to content
Success

Changes

Summary

  1. Schema: Allow restrictions for element specs. (details)
  2. Restrictions on the element specs in the rewriter (details)
  3. fixup: Fixed merge-mode rewriting (details)
  4. Added a test for idno rewriting (details)
Commit 4c31dc79a67506a47e16040a2e3dc0df74bc2c41 by Thorsten Vitt
Schema: Allow restrictions for element specs.

Users can specify patterns on attributes that must be present as well as
the rewrite mode (import/export).
The file was modifiedpom.xml (diff)
The file was modifiedsrc/main/xsd/textgrid-import-2010.xsd (diff)
Commit 32bfd70e07dffce68d999a9e4384f4b40478d399 by Thorsten Vitt
Restrictions on the element specs in the rewriter

Now we need tests …
The file was modifiedsrc/main/java/info/textgrid/utils/linkrewriter/ConfigurableXMLRewriter.java (diff)
The file was modifiedsrc/main/xsd/textgrid-import-2010.xsd (diff)
The file was modifiedsrc/main/java/info/textgrid/utils/linkrewriter/ILinkRewriter.java (diff)
The file was modifiedsrc/main/resources/specs/tei.xml (diff)
The file was modifiedsrc/main/java/info/textgrid/utils/linkrewriter/AbstractRewriter.java (diff)
Commit d9600ae445620a813c67eb9186667c6c05453091 by Thorsten Vitt
fixup: Fixed merge-mode rewriting
The file was modifiedsrc/main/java/info/textgrid/utils/linkrewriter/ConfigurableXMLRewriter.java (diff)
Commit 0f36dfd10544368086b3193d57a83d132c0ea2c3 by Thorsten Vitt
Added a test for idno rewriting
The file was modifiedpom.xml (diff)
The file was addedsrc/test/resources/idnoTest.xml (diff)
The file was modifiedsrc/test/java/info/textgrid/utils/linkrewriter/ConfigurableXMLRewriterTest.java (diff)