- replace preg_replace with rtrim to speed things up - move name calculation out of loop # BC break: multiple occurrences of 's' at the end of the element names # will all be ripped off (before: only one 's' was deleted).
- replace preg_replace with rtrim to speed things up
- move name calculation out of loop
# BC break: multiple occurrences of 's' at the end of the element names
# will all be ripped off (before: only one 's' was deleted).


git-svn-id: 526f3b90ad6d9b1dfe840af828070ca3d99521ac@4464 d2cacbed-c0f6-0310-851a-9dad52fc623a

johannes85/core