Fix namespace declarations
New tests. Some tests changed to new order in p:pipe
Tests that XS0077 is raised when p:input's @port is not an NCName.