Skip to main content
Participant
April 21, 2024
Question

InDesign SDK 19.3 - SDK/docs/references/idml-schema.zip has no schema files

  • April 21, 2024
  • 2 replies
  • 589 views

SDK=plugin_sdk_19.3.0.58
Looking at the SDK documentation, I found an expected Zip file, but it had no real content.

This HTML documentation at

SDK/docs/html/id_idml_read_me.html#id_idml_documentation

States:
Adobe InDesign Markup Language (IDML) Cookbook covers how to produce a RELAX NG schema and describes why this is specific to your plug-in configuration. For your convenience, a version of the schema, built from the standard set of Adobe plug-ins, is available in the InDesign Plugin SDK at SDK/docs/references/idml-schema.zip.

The archive expands to the following directories:

  • idml-schema/packagev - Contains the schema for IDML files.
  • idml-schema/single - Contains the schema for snippets (IDMS), InCopy stories (ICML), and InCopy assignment files (ICMA)



Please update the zip file to contain the contents as specified.

This topic has been closed for replies.

2 replies

Inspiring
April 22, 2024

IDML Cook book also says the following -

I have not tried but you may try to see if it generates the IDML schema or not -

 

 

How do I generate a schema?

Solution: Use the GeneratePackageSchema.jsx and GenerateSchema.jsx scripts in the <IDMLTOOLS>/scripts directory.

 

There are two types of schemas: one used for IDML packages; the other, for the consolidated nonpackage files. The app.generateIDMLSchema (JavaScript) event writes either of these schema types to disk. It has two parameters:

  • The destination directory for the schema.
  • A Boolean value that controls whether a package or nonpackage schema is generated.
  •  

For example, the following JavaScript generates the package schema:

app.generateIDMLSchema(Folder("/idml-schema/package"), true);

 

And the following generates the nonpackage schema:

app.generateIDMLSchema(Folder("/idml-schema/single"), false);
 
- Rahul Rastogi
Community Expert
April 22, 2024

I see that missing on v18 SDK as well. I am not sure how far back that has been missing

-Manan

-Manan
Legend
April 22, 2024

For InDesign CS6 (SDK version 8 build 370) back in 2012 the size was 126k.

Since version 9 it is 204 bytes.

Community Expert
April 23, 2024

Another case of missing information since long in the SDK. Trying what @Rahul_Rastogi found might help. @Rishabh_Tiwari can you get us some information on this if not too much hassle, maybe let the engineering team know that this is missing and they could update it in the coming versions.

-Manan

-Manan