Wes Moulder wrote: > Ya'll might not like me stepping in here, but I have two questions > about this: >
Hi Wes! You are always welcome here. > a) isn't a local part of "one:two" illegal? > I would think so... > b) Why not make your QName do both from the valueOf() method? > I'm a bit concerned about how code that depended on this feature would react if, some how, another implementation of this interface were to be picked up in the classpath. Is there a compelling need to support this other syntax? > It should be trivially easy to figure out which one of the two forms > the string is in, and since a : is illegal in an NCName (what the > localpart is defined as), it shouldn't be difficult to figure out > which form it's in. > I agree that technically it would not be difficult. - Sam Ruby