Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [jpa-dev] [External] : persistence_3_2.xsd updates make ##other required; should it be optional?
  • From: Lukas Jungmann <lukas.jungmann@xxxxxxxxxx>
  • Date: Fri, 22 Mar 2024 19:22:51 +0100
  • Arc-authentication-results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=oracle.com; dmarc=pass action=none header.from=oracle.com; dkim=pass header.d=oracle.com; arc=none
  • Arc-message-signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector9901; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-AntiSpam-MessageData-ChunkCount:X-MS-Exchange-AntiSpam-MessageData-0:X-MS-Exchange-AntiSpam-MessageData-1; bh=OR4ShS4w4vSRoQi3/rffEe/Ny8RTy0ze748tLFgDa/I=; b=FcdniFeoWeqEhAjAuaMZkuoC6VUYqAqEhD9qfEZX8ysA2gYOPhGFF52tXBB4cXrm8NaFKc0LnLcInJWH5KiMKH/XhMeDkzIxvRTGZ+N4+gmJKnkrarBveXYVlfS8JQ57KU4yZzKzgOzqhlTmUOj6MUFLQnuQX7h/rYVO5QgDRsF1sLdKKINF6YxGY6p72zS5PyOJVwb1+O7xhyjF6Ywz48/e6ExuiHFiYfU1DMYWDozf3BnWAR7AARnm5KhEmIMCok3+Qrp0Kf9yoALcxBAJ0mfoSv2zzwH8WeHbGy/mqATA7DmrWvzqlHTluklfjdtcU9DCLA6quiNoT46POMJOyQ==
  • Arc-seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=jCVsbcSr3ouoOZV9eUhT09buZdJerOXPUnBtjFti2+YJBlklkQqfet5U5baAVszFfCra2THRVuHcIkQ5XTS50Xp3ifg7ee4pfnOIpfzYSKuitMQatWSTkVcjbR/cFfHg43/B8dj6Y/OFTl/EHgGoNmKKx7zs8Nbp3Q0Ne9CO280C1dzDfOUTS05nzs4zGohXmHHaQYa/NkyEUfZlsmkJLQkcOuHfVaSDa8I2zI2AYgA9H8dhlLaosxLgwhxw6Z5+dB6EIf8HHKpCVjcm5+yjl/NrGbVZ2t5vPX7d23ypOs9qs5u+ZK24qyLp3Di3nff8r+UisIttnOI1XO0OLHQ+VA==
  • Delivered-to: jpa-dev@xxxxxxxxxxx
  • List-archive: <https://www.eclipse.org/mailman/private/jpa-dev/>
  • List-help: <mailto:jpa-dev-request@eclipse.org?subject=help>
  • List-subscribe: <https://www.eclipse.org/mailman/listinfo/jpa-dev>, <mailto:jpa-dev-request@eclipse.org?subject=subscribe>
  • List-unsubscribe: <https://www.eclipse.org/mailman/options/jpa-dev>, <mailto:jpa-dev-request@eclipse.org?subject=unsubscribe>
  • User-agent: Mozilla Thunderbird

On 22.03.2024 18:18, Tracy Burroughs via jpa-dev wrote:
The persistence_3_2.xsd file added a new “##other” element, which is required; should it instead be made optional by setting min/maxOccurs like this:

already fixed in master, see https://github.com/jakartaee/persistence/pull/590

thanks,
--lukas



<xsd:any namespace="##other" processContents="lax"minOccurs="0"maxOccurs="unbounded">

parsing persistence.xml with validation will force customers to supply this new element; I thought this was supposed to be optional, and only needed if the user wanted to override some integration setting (for example, with CDI).

minOccurs=”0” so it is optional, and maxOccurs=”unbounded” to support multiple integration points, if other specs also want to define integration with persistence.

Thanks,
Tracy Burroughs  (_tkb@xxxxxx.com_ <mailto:tkb@xxxxxxxxxx>)
WebSphere Application Server Development
IBM Rochester, Dept AAW, Bldg H315/050-2
2800 37th Street NW, Rochester MN 55901-4441

_______________________________________________
jpa-dev mailing list
jpa-dev@xxxxxxxxxxx
To unsubscribe from this list, visit https://urldefense.com/v3/__https://www.eclipse.org/mailman/listinfo/jpa-dev__;!!ACWV5N9M2RV99hQ!Lk50-sgfdc1nfuvbQz5bwpYlnChYI6qeNBGfdiKGkLwgYourjoWp5SCF94N0tQ3MwyLmF0sr0TLupaIAYyOy$



Back to the top