Ignore:
Timestamp:
Apr 4, 2007 9:54:29 AM (14 years ago)
Author:
bennylp
Message:

Implement ticket #206: Allow single quotes for attributes in XML (thanks Tory Patnoe)

File:
1 edited

Legend:

Unmodified
Added
Removed
  • pjproject/branches/pjproject-0.5-stable/pjlib-util/src/pjlib-util/xml.c

    r974 r1142  
    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.