Project

General

Profile

« Previous | Next » 

Revision 3581

bin/map: in_is_xml: doc2rows(): "Root not found in input" warning: Changed "error" to "warning" to match the type of error condition signaled

View differences:

map
375 375
            else:
376 376
                def doc2rows(in_xml_root):
377 377
                    rows = xpath.get(in_xml_root, in_root, limit=end)
378
                    if rows == []: warnings.warn(UserWarning('Map error: Root "'
379
                        +in_root+'" not found in input'))
378
                    if rows == []: warnings.warn(UserWarning('Map warning: '
379
                        'Root "'+in_root+'" not found in input'))
380 380
                    return rows
381 381
                
382 382
                def get_value(in_, row):

Also available in: Unified diff