If they are done by copying someone elses work without permission then by copyright infringement. If done by implementing a standard or through a license etc. then no harm is done.
Do you think that I should be allowed to steal the declaring code of someone elses proprietary solution and pawn of as my own?