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

handling XML #1

Closed
sanjiva opened this issue Nov 20, 2016 · 1 comment
Closed

handling XML #1

sanjiva opened this issue Nov 20, 2016 · 1 comment

Comments

@sanjiva
Copy link
Contributor

sanjiva commented Nov 20, 2016

I've been thinking about how to represent XML in Ballerina.

There are two things in XML that people often get wrong: XML Documents and Elements. Document is the whole "file" basically and contains one element, called the Document Element. An Element is of course a single element: <Element attributes*>....

In XSD, there's an element declaration and a type definition. Types are abstract - elements are concrete. There's also a concept of an anonymous type declared for a particular element: an element declared to have structure without declaring a type and then asserting that type for that element is kinda like that.

I'm roughly thinking we need something like this:

  • XMLDocument - represents a full doc. Do we need this though?? Do we ever deal with full docs?
  • XMLElement[<XSDComplexTypeName | XSDSimpleTypeName>] - defines a variable to be an element. We need the namespace and fully qualified name though .. annotations??
@bsenduran
Copy link
Contributor

sumuditha-viraj pushed a commit that referenced this issue Jan 3, 2017
maheeka pushed a commit that referenced this issue Jan 27, 2017
bsenduran referenced this issue in bsenduran/ballerina-old Feb 2, 2017
Add public key to const defintion
sameerajayasoma pushed a commit that referenced this issue Feb 8, 2017
sameerajayasoma pushed a commit that referenced this issue Feb 15, 2017
Update fork from original
bsenduran pushed a commit that referenced this issue Feb 15, 2017
Fix according to latest carbon messaging
Shan1024 referenced this issue in Shan1024/ballerina Feb 21, 2017
kasun04 pushed a commit that referenced this issue Feb 21, 2017
kasun04 pushed a commit that referenced this issue Mar 7, 2017
sameerajayasoma pushed a commit that referenced this issue Jun 9, 2017
Add error handling support for abort
hasithaa pushed a commit that referenced this issue Jun 30, 2017
irunika pushed a commit to irunika/ballerina that referenced this issue Aug 16, 2017
hasithaa pushed a commit that referenced this issue Nov 2, 2017
TransfomerInvocation getter for TypeConversion interface
riyafa referenced this issue in riyafa/ballerina Feb 7, 2018
Initial plugin implementation
riyafa referenced this issue in riyafa/ballerina Feb 7, 2018
Initial commit for ballerinalang support for vscode
MaryamZi referenced this issue in MaryamZi/ballerina Mar 4, 2018
Language models for group by clause
afkham added a commit that referenced this issue Mar 4, 2018
Add transaction id for coordinator functions
Anoukh referenced this issue in Anoukh/ballerina-lang Mar 4, 2018
Add opentracing for user level tracing
MaryamZi referenced this issue in MaryamZi/ballerina Mar 5, 2018
hasithaa pushed a commit that referenced this issue Apr 3, 2018
daneshk pushed a commit that referenced this issue Apr 24, 2018
SupunS pushed a commit that referenced this issue Jul 2, 2018
Add streaming windows to a separate file and reuse.
Shan1024 pushed a commit that referenced this issue Aug 2, 2018
[IDEA Plugin] Test Implementation - Milestone #1
sinthuja pushed a commit that referenced this issue Sep 7, 2018
Update in startSpan API
gimantha added a commit that referenced this issue Sep 20, 2018
roonyh pushed a commit that referenced this issue Jul 12, 2019
nadeeshaan referenced this issue in nadeeshaan/ballerina Aug 31, 2019
Fix code generation issue with new language changes
uthaiyashankar pushed a commit that referenced this issue Sep 8, 2019
nadeeshaan referenced this issue in nadeeshaan/ballerina Oct 22, 2019
nadeeshaan referenced this issue in nadeeshaan/ballerina Nov 18, 2019
Fix failing language server tests
anupama-pathirage pushed a commit that referenced this issue Dec 16, 2019
daneshk pushed a commit that referenced this issue Feb 14, 2020
commit 384a24b
Author: Kalaiyarasi <[email protected]>
Date:   Mon Feb 3 19:11:41 2020 +0530

    Remove unwanted changes

commit fa877fb
Author: Kalaiyarasi <[email protected]>
Date:   Mon Feb 3 19:02:43 2020 +0530

    Remove unwanted changes

commit b81cf79
Merge: 027d65a 39047c1
Author: Kalaiyarasi <[email protected]>
Date:   Mon Feb 3 18:44:45 2020 +0530

    Merge https://github.com/ballerina-platform/ballerina-lang into failover

commit 027d65a
Author: Kalaiyarasi <[email protected]>
Date:   Mon Feb 3 18:43:40 2020 +0530

    Update with master

commit 886efe0
Merge: 542ddbd 2bb5ae1
Author: Kalaiyarasi <[email protected]>
Date:   Mon Feb 3 18:20:31 2020 +0530

    Merge branch 'retry' of https://github.com/kalaiyarasiganeshalingam/ballerina-lang into failover

commit 39047c1
Merge: f4b0e32 3d77926
Author: kalaiyarasiganeshalingam <[email protected]>
Date:   Mon Feb 3 15:27:54 2020 +0530

    Merge pull request #19998 from kalaiyarasiganeshalingam/example

    Add an example for webSocket retry

commit 3d77926
Author: Kalaiyarasi <[email protected]>
Date:   Mon Feb 3 14:18:38 2020 +0530

    Make the suggested change

commit f4b0e32
Merge: cfde288 de7e116
Author: Danesh Kuruppu <[email protected]>
Date:   Mon Feb 3 13:45:32 2020 +0530

    Merge pull request #19723 from kalaiyarasiganeshalingam/retry

    Implement retry for webSocket endpoint

commit cfde288
Merge: a1b6af8 94b4fb7
Author: praneesha <[email protected]>
Date:   Mon Feb 3 12:07:51 2020 +0530

    Merge pull request #20830 from praneesha/lang-issue-20829

    Add the Latest Content from the Staging Website Repo

commit a1b6af8
Merge: 487f603 d356099
Author: Chamil Elladeniya <[email protected]>
Date:   Mon Feb 3 11:50:25 2020 +0530

    Merge pull request #20753 from Tharuja/apis-with-persistent-cookies

    Implement  APIs  for  HTTP  persistent cookies

commit 94b4fb7
Author: praneesha <[email protected]>
Date:   Mon Feb 3 11:17:02 2020 +0530

    Add the latest content

commit 487f603
Merge: 898ae60 463c0de
Author: Nadeeshaan Gunasinghe <[email protected]>
Date:   Mon Feb 3 09:27:05 2020 +0530

    Merge pull request #20819 from nadeeshaan/completion-engine-revamp

    Add Sorting support For top Level Contexts

commit 898ae60
Merge: ba69b5e af06634
Author: Rasika Perera <[email protected]>
Date:   Mon Feb 3 09:16:07 2020 +0530

    Merge pull request #20817 from rasika/fix-19627

    Fix `Create local variable` code action breaks code

commit ab49209
Author: Kalaiyarasi <[email protected]>
Date:   Mon Feb 3 08:51:15 2020 +0530

    Fix suggested changes

commit 463c0de
Author: nadeeshaan <[email protected]>
Date:   Sun Feb 2 11:42:53 2020 +0530

    fix checkstyle issues

commit ba69b5e
Merge: d236b5d 207f4e2
Author: manuranga perera <[email protected]>
Date:   Sat Feb 1 14:54:49 2020 +0530

    Merge pull request #20768 from manuranga/string-value-langlib

    Migrate record value put to use BString keys

commit 30817aa
Merge: 2776ad0 d236b5d
Author: nadeeshaan <[email protected]>
Date:   Sat Feb 1 13:52:09 2020 +0530

    Merge branch 'master' of https://github.com/ballerina-platform/ballerina-lang into completion-engine-revamp

commit 2776ad0
Author: nadeeshaan <[email protected]>
Date:   Sat Feb 1 13:19:18 2020 +0530

    fix failing service scope test cases

commit 1a4b498
Author: nadeeshaan <[email protected]>
Date:   Sat Feb 1 13:10:13 2020 +0530

    Add sorting within service scope

commit af06634
Author: Rasika <[email protected]>
Date:   Sat Feb 1 00:00:21 2020 +0530

    Fix `Create local variable` code action breaks code

    Signed-off-by: Rasika <[email protected]>

commit d236b5d
Merge: ba5cefb 4892f5f
Author: Kishanthan Thangarajah <[email protected]>
Date:   Fri Jan 31 17:38:44 2020 +0530

    Merge pull request #20793 from NipunaRanasinghe/improve-jar-creation

    Improve final executable jar creation

commit 8aa9474
Author: Kalaiyarasi <askalalai31@gmailcom>
Date:   Wed Nov 20 16:12:04 2019 +0530

    Adding an example for webSocket retry #19749

    Make changes in the description

    Add new line

commit ba5cefb
Merge: 47791e1 d8c7efd
Author: Nadeeshaan Gunasinghe <[email protected]>
Date:   Fri Jan 31 15:15:49 2020 +0530

    Merge pull request #20748 from nadeeshaan/completion-engine-revamp

    Revamp Language Server Completions Engine

commit de7e116
Author: Kalaiyarasi <[email protected]>
Date:   Fri Jan 31 14:39:48 2020 +0530

    Make the change in the method comment

commit 2bb5ae1
Author: Kalaiyarasi <[email protected]>
Date:   Fri Jan 31 12:07:19 2020 +0530

    Implement retry for WebSocket client

    Resolve #19717

commit d8c7efd
Merge: 1a402a3 47791e1
Author: nadeeshaan <[email protected]>
Date:   Fri Jan 31 11:47:35 2020 +0530

    sync with master

commit 1a402a3
Author: nadeeshaan <[email protected]>
Date:   Fri Jan 31 10:57:57 2020 +0530

    revamp top level sorting order

commit 6dd26e5
Merge: b4aa67a 8d41dd9
Author: nadeeshaan <[email protected]>
Date:   Fri Jan 31 06:52:51 2020 +0530

    Merge branch 'master' of https://github.com/ballerina-platform/ballerina-lang into completion-engine-revamp

commit d356099
Author: Tharuja <[email protected]>
Date:   Thu Jan 30 21:45:35 2020 +0530

    Change cookie store and tests

commit 4892f5f
Author: Nipuna Ranasinghe <[email protected]>
Date:   Thu Jan 30 14:18:39 2020 +0530

    Add buffered input stream

commit 207f4e2
Merge: 9e7606e 99ebc8a
Author: manuranga perera <[email protected]>
Date:   Thu Jan 30 12:49:03 2020 +0530

    Merge branch 'master' of github.com:ballerina-platform/ballerina-lang into string-value-langlib

commit e910724
Author: Tharuja <[email protected]>
Date:   Thu Jan 30 11:50:58 2020 +0530

    Change completionWithinTransaction file

commit ddda14f
Merge: dde5c16 e616c28
Author: Tharuja <[email protected]>
Date:   Thu Jan 30 11:02:31 2020 +0530

    Merge branch 'master' of https://github.com/ballerina-platform/ballerina-lang into apis-with-persistent-cookies

commit dde5c16
Author: Tharuja <[email protected]>
Date:   Thu Jan 30 10:25:32 2020 +0530

    Change language server unit tests

commit 2dc1c20
Author: Tharuja <[email protected]>
Date:   Wed Jan 29 23:31:49 2020 +0530

    Add InvalidCookieError

commit 9e7606e
Author: manuranga perera <[email protected]>
Date:   Tue Jan 28 17:46:33 2020 +0530

    Migrate record value put to use BString keys

commit 5904687
Author: Tharuja <[email protected]>
Date:   Wed Jan 29 14:08:09 2020 +0530

    Change cookie store and csv persistent cookie handler

commit 644da0f
Author: Tharuja <[email protected]>
Date:   Wed Jan 29 11:01:39 2020 +0530

    Resolve language and formatting issues

commit c1614ae
Author: Nipuna Ranasinghe <[email protected]>
Date:   Tue Jan 28 11:29:19 2020 +0100

    improve final executable jar creation task

commit f07ec98
Author: Tharuja <[email protected]>
Date:   Mon Jan 27 21:36:39 2020 +0530

    Change variable names in cookie file

commit 3bf9fc2
Author: Tharuja <[email protected]>
Date:   Mon Jan 27 17:34:36 2020 +0530

    Change language server unit tests

commit b4aa67a
Merge: 80c4306 b577044
Author: nadeeshaan <[email protected]>
Date:   Mon Jan 27 13:12:03 2020 +0530

    Sync with master

commit c4dc661
Author: Tharuja <[email protected]>
Date:   Mon Jan 27 12:02:20 2020 +0530

    Change tests

commit b114da7
Author: Tharuja <[email protected]>
Date:   Mon Jan 27 12:00:32 2020 +0530

    Fix issue in csv persistent cookie handler

commit 80c4306
Merge: 0040abe bf906ee
Author: nadeeshaan <[email protected]>
Date:   Mon Jan 27 09:22:41 2020 +0530

    Merge branch 'master' of https://github.com/ballerina-platform/ballerina-lang into completion-engine-revamp

commit 0040abe
Author: nadeeshaan <[email protected]>
Date:   Mon Jan 27 09:21:38 2020 +0530

    fix the checkstyle issues

commit 6d06d83
Author: nadeeshaan <[email protected]>
Date:   Sun Jan 26 18:00:48 2020 +0530

    migrate to completion item wrapper usage

commit 3020a7e
Merge: aa6bd5b bf906ee
Author: Tharuja <[email protected]>
Date:   Sun Jan 26 16:29:25 2020 +0530

    Merge branch 'master' of https://github.com/ballerina-platform/ballerina-lang into apis-with-persistent-cookies

commit aa6bd5b
Author: Tharuja <[email protected]>
Date:   Sun Jan 26 16:28:25 2020 +0530

    Change language server unit tests

commit bed1e01
Author: Tharuja <[email protected]>
Date:   Sun Jan 26 16:20:48 2020 +0530

    Change unit tests and integration tests

commit 1b0ba4d
Author: Tharuja <[email protected]>
Date:   Sat Jan 25 21:15:31 2020 +0530

    Change csv persistent cookie handler

commit 6167c6d
Author: Tharuja <[email protected]>
Date:   Fri Jan 24 17:38:02 2020 +0530

    Change csv persistent cookie handler

commit b0829c4
Author: nadeeshaan <[email protected]>
Date:   Fri Jan 24 13:35:41 2020 +0530

    revamp sorting model

commit b3e3918
Author: Tharuja <[email protected]>
Date:   Fri Jan 24 11:20:22 2020 +0530

    Add log-warning when using persistent cookies

commit 70a8d83
Author: Tharuja <[email protected]>
Date:   Thu Jan 23 13:45:47 2020 +0530

    Add CookieHandlingError

commit 92129a0
Author: Tharuja <[email protected]>
Date:   Wed Jan 22 16:33:55 2020 +0530

    Change variable names in addCookies function

commit 4c83b4c
Author: Tharuja <[email protected]>
Date:   Wed Jan 22 16:33:01 2020 +0530

    Add unit tests

commit cca53b9
Author: Tharuja <[email protected]>
Date:   Wed Jan 22 16:32:11 2020 +0530

    Add Integration Tests

commit 90bd156
Author: Tharuja <[email protected]>
Date:   Wed Jan 22 16:30:31 2020 +0530

    Change cookie configuration

commit 377a86a
Author: Tharuja <[email protected]>
Date:   Wed Jan 22 16:29:23 2020 +0530

    Change cookie store functions

commit f4c02b1
Author: Tharuja <[email protected]>
Date:   Wed Jan 22 16:27:05 2020 +0530

    Change variable names in cookie

commit ee2c275
Author: Tharuja <[email protected]>
Date:   Thu Jan 16 15:13:23 2020 +0530

    Add validateFileExtension function

commit bd531e2
Author: Tharuja <[email protected]>
Date:   Thu Jan 16 09:39:15 2020 +0530

    Change cookie configuration

commit 538f2d8
Author: Tharuja <[email protected]>
Date:   Mon Jan 13 14:26:42 2020 +0530

    Add limits on the number of cookies in cookie-store

commit 186e1ad
Author: Tharuja <[email protected]>
Date:   Mon Jan 13 14:08:53 2020 +0530

    Add more functions into Cookie-Store

commit 7bfacf0
Author: Tharuja <[email protected]>
Date:   Mon Jan 13 13:56:06 2020 +0530

    Add persistent cookies

commit 542ddbd
Merge: 68590a0 b1ba4e0
Author: kalaiyarasiganeshalingam <[email protected]>
Date:   Mon Nov 18 21:23:25 2019 +0530

    Merge pull request #2 from nadeeshaan/failover

    Fix language server tests

commit b1ba4e0
Author: nadeeshaan <[email protected]>
Date:   Mon Nov 18 18:40:32 2019 +0530

    Fix language server tests

commit 68590a0
Author: Kalaiyarasi <askalalai31@gmailcom>
Date:   Mon Nov 18 15:51:57 2019 +0530

    Remove unused import

commit 2a449bd
Author: Kalaiyarasi <askalalai31@gmailcom>
Date:   Mon Nov 18 14:58:17 2019 +0530

    Add testcase

commit ab7d1b5
Merge: 5fc5852 a79c4b5
Author: Kalaiyarasi <askalalai31@gmailcom>
Date:   Fri Nov 15 09:01:59 2019 +0530

    Merge https://github.com/ballerina-platform/ballerina-lang into failover

commit 5fc5852
Author: Kalaiyarasi <askalalai31@gmailcom>
Date:   Thu Nov 14 15:06:33 2019 +0530

    Fix the functionality breaking

commit ae92021
Author: Kalaiyarasi <askalalai31@gmailcom>
Date:   Thu Nov 14 11:14:50 2019 +0530

    Resolve conflict

commit 9b06044
Merge: 0d6c5a3 c6fecf5
Author: kalaiyarasiganeshalingam <[email protected]>
Date:   Thu Nov 14 10:21:30 2019 +0530

    Merge branch 'master' into failover

commit 0d6c5a3
Merge: 3062077 f2c51c8
Author: Kalaiyarasi <askalalai31@gmailcom>
Date:   Wed Nov 13 11:35:30 2019 +0530

    Merge https://github.com/ballerina-platform/ballerina-lang into failover

commit 3062077
Author: Kalaiyarasi <askalalai31@gmailcom>
Date:   Wed Nov 13 11:32:58 2019 +0530

    Improve the implementation

commit 166a8f3
Author: Kalaiyarasi <askalalai31@gmailcom>
Date:   Tue Nov 12 15:42:10 2019 +0530

    CountDown the countDownLatch

commit 0815423
Author: Kalaiyarasi <askalalai31@gmailcom>
Date:   Tue Nov 12 13:04:39 2019 +0530

    Fix build fail

commit c4a9d96
Merge: 563fc05 22256f3
Author: kalaiyarasiganeshalingam <[email protected]>
Date:   Mon Nov 11 17:59:19 2019 +0530

    Merge branch 'master' into failover

commit 563fc05
Author: Kalaiyarasi <askalalai31@gmailcom>
Date:   Mon Nov 11 17:30:27 2019 +0530

    Improve the implementation

commit c1a04dc
Author: Kalaiyarasi <askalalai31@gmailcom>
Date:   Sun Nov 10 19:47:07 2019 +0530

    Implement failover client

commit 54fe3cc
Author: Kalaiyarasi <askalalai31@gmailcom>
Date:   Fri Nov 8 13:29:58 2019 +0530

    Change the description

commit 8e73465
Author: Kalaiyarasi <askalalai31@gmailcom>
Date:   Fri Nov 8 13:25:29 2019 +0530

    Add counDownLatch for every connection

commit 2f0eaee
Merge: eac7d98 0f1b50c
Author: kalaiyarasiganeshalingam <[email protected]>
Date:   Thu Nov 7 10:44:23 2019 +0530

    Merge pull request #1 from nadeeshaan/kUpRetry

    Fix failing language server tests

commit 0f1b50c
Author: nadeeshaan <[email protected]>
Date:   Wed Nov 6 08:12:15 2019 +0530

    Fix failing tests

commit 87fd284
Merge: eac7d98 b167099
Author: nadeeshaan <[email protected]>
Date:   Wed Nov 6 07:58:26 2019 +0530

    Merge branch 'master' of https://github.com/ballerina-platform/ballerina-lang into kUpRetry

commit eac7d98
Author: Kalaiyarasi <askalalai31@gmailcom>
Date:   Sat Nov 2 17:12:35 2019 +0530

    Implement retry for webSocket endpoint
pcnfernando referenced this issue in pcnfernando/ballerina-lang Feb 21, 2020
Add query support to type streams
hasithaa pushed a commit that referenced this issue Feb 24, 2020
Fix language server compiler phases and visit const reference
nadeeshaan referenced this issue in nadeeshaan/ballerina Mar 4, 2020
Fix failing completion tests
daneshk pushed a commit that referenced this issue Mar 25, 2020
ldclakmal added a commit that referenced this issue May 6, 2020
rdhananjaya pushed a commit that referenced this issue Jun 16, 2020
Fix language server test failures
kaviththiranga pushed a commit that referenced this issue Jun 20, 2020
hevayo pushed a commit that referenced this issue Nov 16, 2020
Mandate filePath for the WorkspaceManager
azinneera pushed a commit that referenced this issue Feb 22, 2021
Add Code Coverage Report Generation and Publishing to the Workflow
gimantha added a commit that referenced this issue Apr 10, 2021
nadeeshaan pushed a commit that referenced this issue Apr 19, 2021
rdhananjaya pushed a commit that referenced this issue Aug 27, 2021
MaryamZi pushed a commit that referenced this issue Oct 22, 2021
IMS94 added a commit that referenced this issue Apr 18, 2022
Revert "Revert "Add missing test compiler plugin diagnostics""
malinthar pushed a commit to malinthar/ballerina-lang that referenced this issue Oct 3, 2022
hasithaa pushed a commit that referenced this issue Jun 12, 2023
gimantha added a commit that referenced this issue Oct 8, 2024
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

2 participants