Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
Comment: revisit on apache XML schema library. Confirmed limitations.

...

Likewise, if you are coding using IntelliJ IDEA, you must explicitly check two options that are disabled by default (File→Settings, Editor Scala, Spaces tab):

...

There are some "supposedly" standard libraries that we're not using, basically because we tried and they didn't work out. Details on these efforts are below. Some day in the future this may be worth revisiting, but only if either the libraries have improved or we have someone with maintenance-level experience with them join the Daffodil project, that is, someone who knows how to make them work properlydecide to enhance them.

Apache XML Schema

This library has been tried and is inadequate to our needs currently (20122022-0212-2406). It lacks support for non-native attributes, the support for appinfo and annotations in general is difficult to use (if it works at all), and it has no escape-mechanism by which one can bypass, get back to the XML objects themselves, and overcome its limitations. It has no notion of a schema component having a location within a file, such as file, line number, and column number (It inherits this from w3c DOM Document class). It also lacks a first class notion of a schema document (corresponding to the xs:schema object defined by one file). This makes it impossible to implement DFDL's schema-file lexical scoping. 

XSOM - XML Schema Object Model

...