Making sure that fragments that are parsed have a root node in the document they're in.
Merge branch 'release_4.5'