@@ -0,0 +1,1200 @@
+package org.simpleframework.xml.core;%0D%0A%0D%0Aimport java.io.StringWriter;%0D%0A%0D%0Aimport junit.framework.TestCase;%0D%0A%0D%0Aimport org.simpleframework.xml.Attribute;%0D%0Aimport org.simpleframework.xml.Path;%0D%0Aimport org.simpleframework.xml.Root;%0D%0Aimport org.simpleframework.xml.Serializer;%0D%0A%0D%0Apublic class PathConstructorAmbiguityTest extends TestCase %7B%0D%0A%0D%0A   @Root(name=%22test1%22)%0D%0A   public static class Test1 %7B%0D%0A      %0D%0A      @Attribute(name=%22iri%22)%0D%0A      final String identifier;%0D%0A      %0D%0A      @Path(value=%22resource%22)%0D%0A      @Attribute(name=%22iri%22)%0D%0A      final String identifier1;%0D%0A      %0D%0A      public Test1(%0D%0A            @Attribute(name=%22iri%22)  String identifier,%0D%0A            @Path(value=%22resource%22) @Attribute(name=%22iri%22) String identifier1)%0D%0A      %7B%0D%0A         this.identifier = identifier;%0D%0A         this.identifier1 = identifier1;%0D%0A      %7D   %0D%0A   %7D%0D%0A%0D%0A      public void testParameters() throws Exception%7B%0D%0A         Serializer s = new Persister();%0D%0A         StringWriter sw = new StringWriter();%0D%0A         s.write(new Test1(%22a%22, %22b%22), sw);      %0D%0A         String serializedForm = sw.toString();%0D%0A         System.out.println(serializedForm);%0D%0A         Test1 o = s.read(Test1.class, serializedForm);%0D%0A      %7D%0D%0A%7D%0D%0A

Add test for attribute ambiguity