Changeset 13226


Ignore:
Timestamp:
2006-11-06T13:08:28+13:00 (17 years ago)
Author:
shaoqun
Message:

should allow element names with digits

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/gsdl/perllib/plugins/XMLPlug.pm

    r13221 r13226  
    169169    while (defined (my $line = <XMLIN>)) {
    170170        ## find the root element
    171         if ($line =~ /<([\w:]+)[\s>]/){
     171        if ($line =~ /<([\w\d:]+)[\s>]/){
    172172        my $root = $1;
    173173        if ($root !~ $doctype){
Note: See TracChangeset for help on using the changeset viewer.