[debug] item resouce now considers trimming the item name in appending a new item
trim input type name and item name
trim input sitemap name