Fix error where first character of entity name in entity reference was

sent to the wrong buffer, and ended up in content rather than entity
name.
This commit is contained in:
Laurence Withers 2006-10-26 11:32:08 +01:00
parent bf2ca8d925
commit 593bb8d80c
1 changed files with 1 additions and 1 deletions

View File

@ -550,7 +550,7 @@ int csxml_feedChar(struct csxml* ctx, char ch)
ctx->state = StateCharEntity;
ctx->entityChar = 0;
} else if(c == ClassNameStartChar) {
APPEND_CH(buffer, ch);
APPEND_CH(buffer2, ch);
ctx->state = StateEntityName;
} else ERROR("Invalid entity name.");
break;