hi,
I'm making some changes to org.mmbase.util.magicfile.Detector and related files, so if anyone else is working on them please let me know.
I'm implementing the following (currently missing) features.
- Support for the construction that does an AND with some value on the file lithmus before comparing it to the test value.
This looks like this "lelong&0x8080ffff" in the type field of the original magic file , and would be put in the magic.xml as an additional attribute typeAND="0x8080ffff" in the test tag. (I've also updated the parser that creates the xml file from a unix magic file)
- Support for the comparator '&' for short and long. Currently there is only support for the '&' comparator on byte.
There is more to be done but these two changes will enable us to detect some more MP3's. When I'm done testing and cleaning up I'll post the changes. This will probably be next week.
groeten,
Simon
