XMLDocument: Add a test for SR-10776.
XMLDocument: Add a test for SR-10776.

apple/swift-corelibs-foundation,apple/swift-corelibs-foundation,apple/swift-corelibs-foundation,apple/swift-corelibs-foundation,apple/swift-corelibs-foundation