Articy Forum


https://www.articy.com:443/forum/

Updated schema for articy:draft 3?

https://www.articy.com:443/forum/viewtopic.php?f=33&t=18169

Page 1 of 1

Updated schema for articy:draft 3?

Posted: Sat 22. Apr 2017, 19:40
by TonyLi
Hi,

It looks like articy:draft 3 still exports to XML using version 2.4's schema:

Code: Select all
<Export xmlns="http://www.nevigo.com/schemas/articydraft/2.4/XmlContentExport_FullProject.xsd" Version="2.4" CreatorTool="articy:draft" CreatorVersion="3.0.2"...

But this schema doesn't include the new "String" type for variables:

Code: Select all
   <!-- Possible values for the data type of a variable -->
   <xs:simpleType name="VariableDataTypeType">
      <xs:restriction base="xs:NMTOKEN">
         <xs:enumeration value="Boolean"/>
         <xs:enumeration value="Integer"/>
      </xs:restriction>
   </xs:simpleType>

Although articy:draft 3 can create XML files with string variables:

Code: Select all
        <Variable>
          <TechnicalName>TestGlobalString</TechnicalName>
          <Description Count="0"/>
          <DataType>String</DataType>
          <DefaultValue>This is a test.</DefaultValue>
        </Variable>

Is an updated schema available?

Re: Updated schema for articy:draft 3?

Posted: Mon 24. Apr 2017, 16:49
by [Articy] Peter Sabath
Hi Tony,

thanks for pointing that out. There were not much changes regarding the XSD we thought it was sufficient to remain on 2.4 level with some minor changes.

The latest 2.4 schema has:

  • a wrong type fixed for TextPropertyDefinitionType.DisallowedChars (this is also required/advised for 2.4)
  • has an optional "TechnicalName" element for the "ProjectType" (to catch the 3.0 change)

We have uploaded the new 3.0.7 bugfix release today that contains the fix for the missing "String" enumeration type.

This 3.0 schema is also available for download from http://www.nevigo.com/schemas/articydraft/3.0/XmlContentExport_FullProject.xsd

Re: Updated schema for articy:draft 3?

Posted: Mon 24. Apr 2017, 16:55
by TonyLi
Wonderful! Thank you!

All times are UTC
Page 1 of 1