Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
[jpa-dev] persistence_3_2.xsd updates make ##other required; should it be optional?
  • From: Tracy Burroughs <tkb@xxxxxxxxxx>
  • Date: Fri, 22 Mar 2024 17:18:56 +0000
  • Accept-language: en-US
  • Arc-authentication-results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=us.ibm.com; dmarc=pass action=none header.from=us.ibm.com; dkim=pass header.d=us.ibm.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=g1BqbqCZ0XiYtl/l+oy0kwVWeS/0MymCc/7I96Rorrw=; b=hMU6kILvi3Vucbi//vCxQUWhcQghTVIb7GiMr3MfkNb/pwvKpIg+lbuJ8lW1I2ANQQTkMGwi7ENz4FfyYV3RKHqBJp4owsvsr9R3LKYomkQM9SkzUR9NReZiA84n4rq/C8UAOEtds4BE14YUczv5Uw6qzNoXAzWvRMZzmz15vqs5x5Op+ZL4hFPTsXBZbfItgDPRbxpU9PH6R+wrVVVU4xQ7fA/nhAr9AFDA1ERZxbJ/aotIypkXe6KhZbxKXpkXbFfNMkl2eaHY33JAiD6oSd2WnjBjNrkicK/VRkqp/YqFekhURXGNCzxOY9NevJBVtu2DWgb6gg+epDSmAmOG4A==
  • Arc-seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=AMhDhjJs0UR194Sugqczd8DuMqMxGPgnPY9dNQXAbieZfY1SNUO+E6dmtYE8NXSxDwyFTDdLpvhGFZaY01zOsTRo2JBwu5sw8/QRY1e79fPrjyRmBzmhFzx/nJyB+kgLRaK3fDEU9YUK7oB3pUxz2frmFviT/6tIyk1xUEK64LdOwazU93w08wIIfTaADhwidmQ3knuv5LRxzN4mgnxZM1EMVi9EJvGPllWkhnmBfwOqeLmhAIVeVYQlmybhKoF511NH29E222l/Mr44mKPDz6IB2xq6UBKXpfEXUUJIthNhQZ2pJ4CSrWLIpHn4ZbFmIzQYMX4SmUrqT8Ypl0TwcA==
  • 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>
  • Thread-index: Adp8e823EEd+xQ/oSZuoV8m0+gaqAA==
  • Thread-topic: persistence_3_2.xsd updates make ##other required; should it be optional?

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:

<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@xxxxxxxxxx)
WebSphere Application Server Development
IBM Rochester, Dept AAW, Bldg H315/050-2
2800 37th Street NW, Rochester MN 55901-4441
 
 
 

Back to the top