Open clblais opened 7 months ago
The xsd:dateTime XML schema data type is a built-in type in Protege and available for use in the C2SIM ontologies and could replace isoDateTimeBase as the range of data property hasIsoDateTime used in the definition of the DateTime class. i.e., DateTime subclass of hasIsoDateTime exactly 1 isoDateTypeBase.
The DateTime class allows the user to create NAMED date-time instances to use in other data structures. Need to review all usages and see if they should be replaced with a simple data property just providing the date-time value rather than using the hasDateTime object property.
Issue Type
Problem Report
Percieved Urgency
Very urgent
Submitter Name
Curtis Blais (for Tom van den Berg)
Contact Email
tom.vandenberg@tno.nl
Submitter Organization
TNO
Date of Submission
29 March 2024
Product
LOX
Description
While working on our C2SIM software components, we came across the following: The DateTime is now defined as string in LOX XSD. Would be more logical to use XSD predefined type xs:dateTime?
See https://www.w3.org/TR/xmlschema-2/#isoformats https://nam10.safelinks.protection.outlook.com/?url=https%3A%2F%2Fwww.w3.org%2FTR%2Fxmlschema-2%2F%23isoformats&data=05%7C02%7Cclblais%40nps.edu%7Caf680660f49549f0b0a508dc4f09e532%7C6d936231a51740ea9199f7578963378e%7C0%7C0%7C638472151145813306%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C0%7C%7C%7C&sdata=i00uFnTBquMffb4Fp7D6n0vTgFhmmkGi7z5yriRqKh0%3D&reserved=0
For code generation this would generate an date time Java object. Is this on purpose? And is it feasible to make this change in the schema for this year’s CWIX?
Consent