On Apr 26, 2010, at 17:47:31, Evan Schoenberg, M.D. wrote: > Specifically, the resulting chunk #1 starts with 'apos'. The resulting chunk > #2 ends with '&'. > > The result is an assertion failure: > *** Assertion failure in -[LMXParser parseEntityReference:], > /Volumes/Huffman/Projects/lmx-sholt/LMXParser.m:605 > "entity name was empty! currentIndex is 5193 (&) out of 21579 bytes" > > It's not clear to me how to proceed with a fix. Do you (yes, you!) have any > ideas?
The fix is to copy the current entity-name run into the entityName string when the chunk runs out. This step is intended but currently missing (I apparently forgot to write it). BTW: default branch is for LMX-2.0 stuff. Sorry for not documenting that; I'll add such documentation to the wiki now.