OAGi / Score

Score
MIT License
9 stars 6 forks source link

Version Info no longer appearing in BIE expression (.XSD) #1617

Closed tekratz closed 6 months ago

tekratz commented 8 months ago

When expressing a BIE that contains a version value, the attribute does not appear in the .XSD schema

hakjuoh commented 8 months ago

Was the BIE BOD? Every BOD has 'Version Identifier'.

Screenshot 2024-03-25 at 11 02 51 AM

If the BIE is not a BOD, the version attribute does not appear even if the Top-Level ASBIEP has a version value.

tekratz commented 8 months ago

I think the functionality we are requesting is that the version information would be added to the expressed BIE in all cases.
image

Not sure the best way to resolve a BOD with a version value and a versionID attribute fixed value. Originally we this was part of the BIE packaging request, but after talking it over with Michael, we thought that this should just be the standard for how BIEs are expressed, regardless if it is in a package or not.

hakjuoh commented 6 months ago

@tekratz Version ID would be expressed through 'appinfo' in the same way as with the BIE Package, as follows.

<?xml version="1.0" encoding="UTF-8"?>
<xsd:schema xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns="http://www.openapplications.org/oagis/10" targetNamespace="http://www.openapplications.org/oagis/10" elementFormDefault="qualified" attributeFormDefault="unqualified">
    <xsd:element name="ItemMaster">
        <xsd:annotation>
            <xsd:documentation>Below is the 'appinfo' element containing BIE version information in beta format.</xsd:documentation>
            <xsd:appinfo>Version ID = 7.3</xsd:appinfo>
        </xsd:annotation>
        <xsd:complexType>
            <xsd:sequence>
                ...