Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [wtp-incubator-dev] [XQDT] Bugs in XQDTTypeFactory.buildType

Gabriel,

> KindTest: what did you want to say with "might not be critical"?

When I wrote this I thought the type was only used to format the value, which is not the case. Still in learning mode...

Lionel

Inactive hide details for Gabriel Petrovay ---04/07/2010 05:09:40 PM---Hi Lionel, see inlineGabriel Petrovay ---04/07/2010 05:09:40 PM---Hi Lionel, see inline

From:Gabriel Petrovay <gabipetrovay@xxxxxxxxx>
To:WTP Incubator Dev list <wtp-incubator-dev@xxxxxxxxxxx>
Date:04/07/2010 05:09 PM
Subject:Re: [wtp-incubator-dev] [XQDT] Bugs in XQDTTypeFactory.buildType



Hi Lionel,

see inline

On Mon, Apr 5, 2010 at 11:32 PM, Lionel Villard <villard@xxxxxxxxxx> wrote:
    Dear XQDT developers,

    XQDTTypeFactory.buildType is not working properly, for instance when the type is of the form "xs:simpleType". It also uses Arrays.binarySearch on a non-sorted array (which contains some misspelled type names).

1. Why non-sorted array? I remember that I sorted the list of basic types in the XDM. I did it with a sorting script so it must be the ASCII ordering.
2. Can you please point me out the misspelled names? Thanks!
3. Our engine (Zorba - the first debugger engine implementation) returns only the local names. We agree that the whole logic has to be extended to fully qualified names.

You can for now tell your debugger engine to send only the local names.
 

    Before submitted a patch, I'd like to discuss about what type syntax this method should accept. Is the intend to parse a subset of the SequenceType syntax? I'm thinking that KindTest might not be critical to pretty print values. What do you think?

Syntax: I have created a bug entry for the syntax discussion and related problems:
https://bugs.eclipse.org/bugs/show_bug.cgi?id=308370
We should start on this bug and create dependencies to it on related problem like the one below about the SequenceTypes.

SequenceTypes: The Variables view can show both the "declared type" and the "actual type". For now we show only the actual type, the one that the debugger engine returns when evaluating an _expression_. Of course this can be extended with the declared types and than the SequenceType syntax has to be supported in this Variables view somehow.

KindTest: what did you want to say with "might not be critical"?

    Regards,

    Lionel


Regards,
Gabriel
 


--
MSc Gabriel Petrovay
Mobile: +41(0)787978034

www.28msec.com_______________________________________________
wtp-incubator-dev mailing list
wtp-incubator-dev@xxxxxxxxxxx
https://dev.eclipse.org/mailman/listinfo/wtp-incubator-dev

GIF image


Back to the top