Opened 12 years ago

Closed 12 years ago

#41 closed defect (fixed)

Parsing problems with record of

Reported by: phdmakk Owned by: phdmakk
Priority: major Milestone: v1.0.x Series
Component: Common Version: 1.0
Keywords: Cc:

Description

Original report by Wolfgang Seka:

As in type definitions we don't have instances there is no valid index; therefore some years ago the core language has been changed to have "[-]" instead of an index, e.g.

  type record MyRecord_Type {

    record of integer Array

  };

  type MyRecord_Type.Array[-] MyRecord_Array_Type;

nevertheless in parallel to the change of the core language obviously all compilers have been modified to accept "[0]" too:

  type record MyRecord_Type {

    record of integer Array

  };

  type MyRecord_Type.Array[0] MyRecord_Array_Type;

Therefore we have kept the "[0]" in our type definitions as there has been no problem anymore and on the other hand "[-]" has not been supported by T3Q/T3D.
But now we get type definitions which are converted from XSD which contain references using "[-]" (see atteched example).
=> is it possible to change T3Q/T3D so that the "[-]" notation does not cause an error anymore ??

Additional Notes: Base support for this is present in the main parser, however some of the tree parsers have issues as it seems the change has not propagated correctly.

This is an upstream issue.

Change History (2)

comment:1 Changed 12 years ago by phdmakk

  • Status changed from new to accepted

comment:2 Changed 12 years ago by phdmakk

  • Resolution set to fixed
  • Status changed from accepted to closed
Note: See TracTickets for help on using tickets.