Fixed #566, #568. Dashes in xsd database>package.

Since "package" is actually a file path, it should be able to contain dashes.
Changed the xsd database>package data type to `file` and adapted simple type `file` to allow them to contain dashes.
Added a test for it.