zorba-coders team mailing list archive
-
zorba-coders team
-
Mailing list archive
-
Message #05094
[Bug 935666] Re: Item types need to have their own class
This can also provide the functionality to create any item with a
defined base type.
--
You received this bug notification because you are a member of Zorba
Coders, which is the registrant for Zorba.
https://bugs.launchpad.net/bugs/935666
Title:
Item types need to have their own class
Status in Zorba - The XQuery Processor:
New
Bug description:
Items need to be extended to have a class that define base types, currently we have a class named:
zorba::TypeIdentifier
which has some functionality, but is not implemented all along zorba, also the class:
zorba::IdentTypes
with two sets:
kind_t
quantifier_t
We should have another set for basic types, for example in the Item
case, when you get the type, you actually get another Item that gives
you the type in a String, this is not efficient for XQJ API
implementation trying to identify the type and convert it into a
constant.
Here is a link where you can see how XQJ defines all types and node
kinds: http://www.xqj.net/javadoc/javax/xml/xquery/XQItemType.html
To manage notifications about this bug go to:
https://bugs.launchpad.net/zorba/+bug/935666/+subscriptions
References