Simon Groenewolt <[EMAIL PROTECTED]> wrote: > 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.
How is this going? I found a bug in MagicXMLReader which I've fixed (presently only in HEAD, but will probably port it to 1.7 soon), I hope it would not give conflicts at your side. Michiel -- Michiel Meeuwissen Mediacentrum 140 H'sum +31 (0)35 6772979 nl_NL eo_XX en_US mihxil' [] ()
