Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Extension of Enumeration fails #129

Open
olivergrimm opened this issue May 7, 2024 · 0 comments
Open

Extension of Enumeration fails #129

olivergrimm opened this issue May 7, 2024 · 0 comments

Comments

@olivergrimm
Copy link

Die folgende Erweiterung der Gruppe 'befestigt' sollte gemäss https://geostandards-ch.github.io/doc_refhb24/#_aufz%C3%A4hlungen erlaubt sein:

CLASS Bodenbedeckung (EXTENDED) =
      Bodenbedeckungsart (EXTENDED): 
        (
        befestigt (
          Wasserbecken             
             (Wasserbecken,                 
             Schwimmbassin)),
       
       !! Erweiterung
       
         befestigt (
          uebrige_befestigte             
             (Sportanlage,
             uebrige)),
       
        humusiert (
          Gartenanlage             
             (Gartenanlage,
             Parkanlage,
             Sportanlage,
             Friedhof)),
        Gewaesser (
          fliessendes_Gewaesser (
            fliessendes_Gewaesser,         
            Trockenrinne_Ruefe)));        

      MANDATORY CONSTRAINT (Bodenbedeckungsart==#befestigt.uebrige_befestigte.Sportanlage) => INTERLIS.elementCount(Objektname) == 0;
    END Bodenbedeckung;

Der Compiler scheitert jedoch mit:

.ili:85:"#befestigt.uebrige_befestigte.Sportanlage" is not a member of the EnumerationType.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant