Hi,
Am 05.08.2016 um 08:36 schrieb Richard Eckart de Castilho: > On 04.08.2016, at 17:08, Marshall Schor <[email protected]> wrote: >> To make this documentation correct, the impl needs some slight adjustments: >> >> The method for reading the first few bytes of input to determine the format: >> should look for XCAS format explicitly (e.g., load the first 10,000 bytes and >> search for <CAS> as the first XML element?) and maybe handle it. > +1 > The reason why I did not do that in the first place was that you cannot be sure where the first xml tag starts. Tehere could be license text or comments (I have seen ASL headers in the CAS files of the unit tests). Well, we could specify that the leading comments may not be as large as 5k bytes. Best, Peter
