From: Tim Josling (tej@melbpc.org.au)
Date: Fri Oct 08 1999 - 19:16:34 EDT
The string after PUBLIC needs to be double quoted at present -
single quoted gives a syntax error. Here is the diff for a fix
(attached).
Can anyone point me to the w3c licence details - accordig to the
doc you have a choice of GPL/LGPL or w3c licence for libxml?
Tim Josling
*** old/libxml-1.7.3/parser.c Sun Sep 26 21:31:51 1999
--- libxml-1.7.3/parser.c Fri Oct 8 17:19:46 1999
***************
*** 2636,2645 ****
} else if (CUR == '\'') {
NEXT;
q = CUR_PTR;
! while ((IS_LETTER(CUR)) && (CUR != '\''))
! NEXT;
! if (!IS_LETTER(CUR)) {
! if ((ctxt->sax != NULL) && (ctxt->sax->error != NULL))
ctxt->sax->error(ctxt->userData, "Unfinished PubidLiteral\n");
ctxt->errNo = XML_ERR_LITERAL_NOT_FINISHED;
ctxt->wellFormed = 0;
--- 2636,2648 ----
} else if (CUR == '\'') {
NEXT;
q = CUR_PTR;
! while ((IS_LETTER(CUR)) && (CUR != '\''))
! NEXT;
! if (CUR != '\'') {
! /* tim josling - this line below is always 'not'
! if (!IS_LETTER(CUR)) {
! */
! if ((ctxt->sax != NULL) && (ctxt->sax->error != NULL))
ctxt->sax->error(ctxt->userData, "Unfinished PubidLiteral\n");
ctxt->errNo = XML_ERR_LITERAL_NOT_FINISHED;
ctxt->wellFormed = 0;
---- Message from the list xml@rufus.w3.org Archived at : http://rufus.w3.org/veillard/XML/messages to unsubscribe: echo "unsubscribe xml" | mail majordomo@rufus.w3.org
This archive was generated by hypermail 2b29 : Wed Aug 02 2000 - 12:29:48 EDT