[Date Prev]
| [Thread Prev]
| [Thread Next]
| [Date Next]
--
[Date Index]
| [Thread Index]
Required XML element with no data to populate it - it might not be aproblem! Here's why ...
- From: Roger L Costello <costello@mitre.org>
- To: "xml-dev@lists.xml.org" <xml-dev@lists.xml.org>
- Date: Wed, 6 Jul 2022 17:22:53 +0000
Hi Folks,
Suppose you are using data from System A to populate an XML instance document. An element in the instance is required (per the XSD) but there is no System A data to populate it. With regard to creating an instance from System A data, that is a problem (or minimally, a highly undesirable situation).
Suppose the element's parent is optional, now is it a problem?
Suppose the element's parent is required but the element's grand-parent is optional, now is it a problem?
How far up the tree should you look to find an optional ancestor?
Fascinating problem!
Comments?
/Roger
[Date Prev]
| [Thread Prev]
| [Thread Next]
| [Date Next]
--
[Date Index]
| [Thread Index]