Whether the DM allows players to sell items at half value, near full value, or somewhere in between, the value of a magic weapon is always high enough that you won't lose money by doing Analyze Dweomer.
We typically AD anything with a decent strength aura, or have the party wizard cast it on...