(: Name: Constr-attr-nsprein-2 :)
(: Written by: Andreas Behm :)
(: Description: attribute prefix declared in same element after :)

<elem foo:attr="value" xmlns:foo="http://www.w3.org/XQueryTest/Construct"/>