Updated schema for articy:draft 3?

Sat 22. Apr 2017, 19:40

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?
TonyLi
 
Posts: 4
Joined: Tue 11. Nov 2014, 01:54

Re: Updated schema for articy:draft 3?

Mon 24. Apr 2017, 16:49

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
User avatar
[Articy] Peter Sabath
Articy Staff
Articy Staff
 
Posts: 89
Joined: Wed 23. Nov 2011, 13:58
Location: Bochum

Re: Updated schema for articy:draft 3?

Mon 24. Apr 2017, 16:55

Wonderful! Thank you!
TonyLi
 
Posts: 4
Joined: Tue 11. Nov 2014, 01:54

Return to Technical Discussion

Who is online

Users browsing this forum: No registered users and 4 guests

Who We Are
Contact Us
Social Links