[snip] Raymond Feng wrote:
The javadoc in QName.valueOf(String) method has some explanations:http://java.sun.com/j2ee/1.4/docs/api/javax/xml/namespace/QName.html#valueOf(java.lang.String) Thanks, RaymondOK Thanks, what about the other questions?Also, I'm not sure I understand the code issue. Can't the call to String.indexOf('#') just be changed to String.lastIndexOf('#')?--
Sorry, there was one more question :)I don't have strong objections to change from ns#name to {ns}name but I'm just not sure what's justifying it given that:
- {ns}name is not more standard than ns#name;
- ns#name seemed more consistent with what we're doing with IRIs in
composites;
- I don't think that there's a real code issue, as lastIndexOf should work.So it feels like a change for the sake of changing, and generating more work and complexity, since now we'll have to support two different notations for a while, {ns}name and ns#name...
But if changing this makes you happier, go ahead I don't have any strong technical objections against it.
-- Jean-Sebastien --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
