Ignore:
Timestamp:
Apr 4, 2007 10:15:27 AM (17 years ago)
Author:
bennylp
Message:

Ticket #208: Allow single quotes for attributes in XML (thanks Tory Patnoe)

File:
1 edited

Legend:

Unmodified
Added
Removed
  • pjproject/trunk/pjlib-util/src/pjlib-util/xml.c

    r974 r1145  
    109109        if (*scanner->curptr == '=') { 
    110110            pj_scan_get_char( scanner ); 
    111             pj_scan_get_quote(scanner, '"', '"', &attr->value); 
     111            pj_scan_get_quotes(scanner, "\"'", "\"'", 2, &attr->value); 
    112112            /* remove quote characters */ 
    113113            ++attr->value.ptr; 
Note: See TracChangeset for help on using the changeset viewer.