OCXStandard / OCX_Schema

The Open Class 3D Exchange (ocx) schema
Apache License 2.0
8 stars 5 forks source link

Schema has XML v1.1 #11

Closed mcapocci closed 1 year ago

mcapocci commented 1 year ago

May I ask why the XML version of the schema is 1.1? This is rare and as I understand it only useful for when the tag names are in non-roman character sets (which I'm assuming will not be the case for OCX).

see e.g. Here.

.net, for example, does not support 1.1 and likely never will.

ocastrup commented 1 year ago

We use the W3X XML 1.1 Assertion (https://www.w3.org/TR/xmlschema11-1/#cAssertions) to restrict the existence of entities in the schema, see the EntityRefBase_T

ocastrup commented 1 year ago

We will revert the schema version to XML 1.0 and remove the assert statements. Instead, we plan to use Schematron to validate the XML 1.1 constructs as this is more flexible and powerful.

mcapocci commented 1 year ago

Hi,

Seems to be some confusion here between XML v1.1 and XSD v1.1. The XML version of a schema with version 1.1 can (and mostly should) be 1.0.

e.g. here.

This issue is about the XML version of the schema being unnecessarily 1.1, not that the schema itself is based on the XSD 1.1 standard.

So I'm no really bothered if the schema is v1.1, as long as it is expressed in XML v1.0

ocastrup commented 1 year ago

Hello,

I believe it has been some nisunderstandings, yes. The 3DOCX XML models does not require XML 1.1 and are XML 1.0 conformant.

Best regards, Ole Christian

From: mcapocci @.> Sent: tirsdag 9. mai 2023 14:12 To: OCXStandard/OCX_Schema @.> Cc: Astrup, Ole Christian @.>; Comment @.> Subject: Re: [OCXStandard/OCX_Schema] Schema has XML v1.1 (Issue #11)

Hi,

Seems to be some confusion here between XML v1.1 and XSD v1.1. The XML version of a schema with version 1.1 can (and mostly should) be 1.0.

e.g. herehttps://stackoverflow.com/questions/21555511/how-to-indicate-that-an-xml-schema-that-requires-schema-1-1-features.

This issue is about the XML version of the schema being unnecessarily 1.1, not that the schema itself is based on the XSD 1.1 standard.

So I'm no really bothered if the schema is v1.1, as long as it is expressed in XML v1.0

- Reply to this email directly, view it on GitHubhttps://github.com/OCXStandard/OCX_Schema/issues/11#issuecomment-1540020704, or unsubscribehttps://github.com/notifications/unsubscribe-auth/AKSW7DEJUMY7AAEZLE36C2DXFIYCHANCNFSM6AAAAAAUDW67RE. You are receiving this because you commented.Message ID: @.**@.>>


This e-mail and any attachments thereto may contain confidential information and/or information protected by intellectual property rights for the exclusive attention of the intended addressees named above. If you have received this transmission in error, please immediately notify the sender by return e-mail and delete this message and its attachments. Unauthorized use, copying or further full or partial distribution of this e-mail or its contents is prohibited.


ocastrup commented 1 year ago

The misunderstanding has been sorted out as the 3Docx models are XML 1.0 (and not XML 1.1)