[Expat-checkins] CVS: expat/lib xmlparse.c,1.27,1.28
Karl Waclawek
kwaclaw@users.sourceforge.net
Tue Apr 23 12:50:40 2002
Update of /cvsroot/expat/expat/lib
In directory usw-pr-cvs1:/tmp/cvs-serv26836
Modified Files:
xmlparse.c
Log Message:
Attribute type constants did not have null terminators.
Index: xmlparse.c
===================================================================
RCS file: /cvsroot/expat/expat/lib/xmlparse.c,v
retrieving revision 1.27
retrieving revision 1.28
diff -C2 -d -r1.27 -r1.28
*** xmlparse.c 23 Apr 2002 13:49:31 -0000 1.27
--- xmlparse.c 23 Apr 2002 19:48:29 -0000 1.28
***************
*** 2592,2607 ****
static const XML_Char externalSubsetName[] = { '#' , '\0' };
#endif /* XML_DTD */
! static const XML_Char atypeCDATA[] = { 'C', 'D', 'A', 'T', 'A' };
! static const XML_Char atypeID[] = { 'I', 'D' };
! static const XML_Char atypeIDREF[] = { 'I', 'D', 'R', 'E', 'F' };
! static const XML_Char atypeIDREFS[] = { 'I', 'D', 'R', 'E', 'F', 'S' };
! static const XML_Char atypeENTITY[] = { 'E', 'N', 'T', 'I', 'T', 'Y' };
! static const XML_Char atypeENTITIES[] = { 'E', 'N', 'T', 'I', 'T', 'I', 'E', 'S' };
! static const XML_Char atypeNMTOKEN[] = { 'N', 'M', 'T', 'O', 'K', 'E', 'N' };
! static const XML_Char atypeNMTOKENS[] = { 'N', 'M', 'T', 'O', 'K', 'E', 'N', 'S' };
! static const XML_Char notationPrefix[] = { 'N', 'O', 'T', 'A', 'T', 'I', 'O', 'N', '(' };
! static const XML_Char enumValueSep[] = { '|' };
! static const XML_Char enumValueStart[] = { '(' };
!
const char **eventPP;
--- 2592,2606 ----
static const XML_Char externalSubsetName[] = { '#' , '\0' };
#endif /* XML_DTD */
! static const XML_Char atypeCDATA[] = { 'C', 'D', 'A', 'T', 'A', '\0' };
! static const XML_Char atypeID[] = { 'I', 'D', '\0' };
! static const XML_Char atypeIDREF[] = { 'I', 'D', 'R', 'E', 'F', '\0' };
! static const XML_Char atypeIDREFS[] = { 'I', 'D', 'R', 'E', 'F', 'S', '\0' };
! static const XML_Char atypeENTITY[] = { 'E', 'N', 'T', 'I', 'T', 'Y', '\0' };
! static const XML_Char atypeENTITIES[] = { 'E', 'N', 'T', 'I', 'T', 'I', 'E', 'S', '\0' };
! static const XML_Char atypeNMTOKEN[] = { 'N', 'M', 'T', 'O', 'K', 'E', 'N', '\0' };
! static const XML_Char atypeNMTOKENS[] = { 'N', 'M', 'T', 'O', 'K', 'E', 'N', 'S', '\0' };
! static const XML_Char notationPrefix[] = { 'N', 'O', 'T', 'A', 'T', 'I', 'O', 'N', '(', '\0' };
! static const XML_Char enumValueSep[] = { '|', '\0' };
! static const XML_Char enumValueStart[] = { '(', '\0' };
const char **eventPP;