2
1
0

It is my understanding that you cannot repeat a RunIndex range in a LayoutPreparationParameter therefore the following would be illegal :-

<LayoutPreparationParams PartIDKeys="RunIndex" ...>      

   <LayoutPreparationParams RunIndex="0">      

</LayoutPreparationParams>      

   <LayoutPreparationParams RunIndex="0">      

   </LayoutPreparationParams>    

</LayoutPreparationParams>

 

if the above is an invalid JDF range, can you confirm the following is illegal (which logically it should be since -1 evaluates as last page of job i.e. the number of sides in the input file - 1) ?

 

<LayoutPreparationParams PartIDKeys="RunIndex" ...>      

    <LayoutPreparationParams RunIndex="-1">      

     <InsertSheet SheetUsage="Trailer" SheetFormat="Blank" SheetType="InsertSheet">           

     </InsertSheet>

</LayoutPreparationParams>      

   <LayoutPreparationParams RunIndex="-1">      

   </LayoutPreparationParams>    

</LayoutPreparationParams>

 

the reason I ask is I have received the JDF as a "valid" customer supplied JDF but I believe it falls outside the JDF spec.

    CommentAdd your comment...

    2 answers

    1.  
      2
      1
      0

      You are correct that both samples are invalid. Partitioning in general always assumes a unique value for each partition and in your cases you have two partitions with the same key-value combination.

      I'm not sure whether that is ever stated in a normative way in the spec, but many mechanisms simply would not work otherwise.

      Note that you may have partitions that refer to the same page but one from the front and one from the back. For a 1 page example e.g:

      <LayoutPreparationParams PartIDKeys="RunIndex" ...>      
          <LayoutPreparationParams RunIndex="-1">      
           <InsertSheet SheetUsage="Trailer" SheetFormat="Blank" SheetType="InsertSheet">           
           </InsertSheet>
      </LayoutPreparationParams>      
         <LayoutPreparationParams RunIndex="0">      
         </LayoutPreparationParams>    
      </LayoutPreparationParams>

       

       

      I've created a JIRA issue: JDF-140 - add a normative partition algorithm Implemented

        CommentAdd your comment...
      1.  
        1
        0
        -1

        thanks for the confirmation

          CommentAdd your comment...