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

Implement the functions and operators casting rules for types. #88

Open
42 tasks
rhdunn opened this issue Jul 9, 2018 · 0 comments
Open
42 tasks

Implement the functions and operators casting rules for types. #88

rhdunn opened this issue Jul 9, 2018 · 0 comments
Labels

Comments

@rhdunn
Copy link
Owner

rhdunn commented Jul 9, 2018

This is needed for providing static analysis and syntax highlighting for cast expressions. It can also be used for validating the values of the context item and variables in run configurations.

  • Casting from primitive types to primitive types
  • Casting to derived types
  • Casting from derived types to parent types
  • Casting within a branch of the type hierarchy
  • Casting across the type hierarchy
  • Casting to union types
  • Casting to list types
  • xs:untyped

Primitive types

  • xs:untypedAtomic
  • xs:string
  • xs:float
  • xs:double
  • xs:decimal
  • xs:integer
  • xs:duration
  • xs:yearMonthDuration
  • xs:dayTimeDuration
  • xs:dateTime
  • xs:time
  • xs:date
  • xs:gYearMonth
  • xs:gYear
  • xs:gMonthDay
  • xs:gDay
  • xs:gMonth
  • xs:boolean
  • xs:base64Binary
  • xs:hexBinary
  • xs:anyURI
  • xs:QName
  • xs:NOTATION

Derived types

  • xs:integer types (min/max range checking)
  • xs:normalizedString
  • xs:token
  • xs:language
  • xs:Name
  • xs:NCName
  • xs:ENTITY
  • xs:ID
  • xs:IDREF
  • xs:NMTOKEN
  • xs:dateTimeStamp
@rhdunn rhdunn added the xdm label Jul 9, 2018
@rhdunn rhdunn changed the title Complete the functions and operators casting rules. Implement the functions and operators casting rules for types. Sep 27, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant