SAN JOSE - A judge Monday agreed with some of Apple Inc.’s claims that Samsung Electronics Co. violated court orders in a patent-infringement case by failing to produce documents referencing Apple features and designs.

While acknowledging that Samsung was required to produce many documents in a short amount of time, US Magistrate Judge Paul S. Grewal wrote that “does not negate Samsung’s obligation to comply with no fewer than two court orders specifying the production of documents that reference Apple’s products.’’

In its lawsuit, Apple asserts that Samsung’s 4G smartphone and Galaxy Tab 10.1 tablet computer, among other products, infringe on its patents. In December, District Judge Lucy Koh of San Jose ruled against Apple’s request to block Samsung from selling that phone and tablet in the United States.