Factual error: Aside from the fact that split-level entries didn't exist in 17th century Austrian palaces, there would be no windows in main state rooms if you did enter the front door and step down.
Continuity mistake: When the captain sings for the first time and hugs the children, Gretl is under his left arm. In the next shot, he raises his arm and she is nowhere to be seen. Then, when Maria motions for Gretl to give the Baroness the edelweiss, she is back under his arm.
Answer: In the film, the Mother Abess explains to Maria that the Captain Von Trapp's wife died "several years" ago. This is commonly misheard by viewers as "seven years." In reality, the actual mother of the Von Trapp children was Agathe Whitehead, who died of scarlet fever in 1922, just four years before Maria came to the Von Trapp home, initially as a tutor (not a governess) in 1926.
Michael Albert