Xtrans

From tehowiki
Revision as of 18:58, 6 September 2016 by imported>Gfis (Stub: bugs)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

Bugs

General Problems

  • Though most transformers convert from the raw (specific) format to an XMLized representation, there are a few exceptions where general binary or text files are converted to the specific format which is then wrapped into XML. Examples are Base64, Quoted Prinatble and Morse Code.
  • Most transformers store values in XML elements, but sometimes it seemed easier to store them in attributes of elements. DTA and Datev are examples for the latter case.
  • For formats with many different tags (SWIFT for example) the question arises whether such tags are syntax or data. These tags can be converted to id attributes of a generalized XML "field" element, or a seperate element for each such tag can be generated. The SwiftTransformer made the latter decision.

Test

  • Not all format conversions are precisely reversible.
  • There are only a few test cases.

Incompletene Transformers

  • general.XMLTransformer - insufficient serialization of entities; serializer should be replaced by Apaches's
  • general.CountingTransformer - cannot generate, but serializes any XML to a sorted list with counts for all elements, and the accumulated length of their direct character content
  • net.URITransformer - the set of supported schemas is incomplete, and serializing is not implemented.
  • organizer.LDIFTransformer - not well tested, and serializing is not implemented.