Re: [basex-talk] Somewhat unusual question

2017-02-25 Thread Kendall Shaw
I think it’s important to the original question to point out that a problem is likely to includes mixtures of different types of data. BaseX has an SQL module and Marklogic includes modules for RDF and you can write extensions and use http to integrate external systems in various XML database

Re: [basex-talk] Somewhat unusual question

2017-02-25 Thread Graydon Saunders
Hi Kendal -- If you don't stick to attributes, it's not hard to represent that kind of relationship graph in XML: karen linda sarah wendy cindy This way you can have a lot of elements (edges in the

Re: [basex-talk] Somewhat unusual question

2017-02-25 Thread Kendall Shaw
On 2/25/17, 12:55 PM, "Liam R. E. Quin" wrote: On Sat, 2017-02-25 at 10:02 +, Kendall Shaw wrote: > It’s interesting to me to know what sorts of applications seem like > they would be a good match for XQuery’s data model but turned out not > to be in some case.

Re: [basex-talk] Somewhat unusual question

2017-02-25 Thread Liam R. E. Quin
On Sat, 2017-02-25 at 10:02 +, Kendall Shaw wrote: > [...] > The original post was asking for examples of ways that XQuery is a > good solution for an unknown problem. Unknown to us at least... yes. > Generally, if I found myself think that technology x is the solution > to every problem,

Re: [basex-talk] Somewhat unusual question

2017-02-25 Thread Marc van Grootel
Hi, I was following this thread last week but couldn't chime in yet as I was inundated with work. I am, in a sense, lucky to be able to spend about 2/3 to 3/4 of my time on XQuery and XSLT. It used to be just XSLT but we started using XQuery more and nowadays it's predominantly XQuery (with

Re: [basex-talk] Cross-Origin Resource Sharing ( CORS) not available in jetty version 8

2017-02-25 Thread Andy Bunce
Hi Rob, I have used the restxq custom response feature [1] to create the CORS header. Maybe it would work in your case? ... For example see [2] (of course Jetty 9 support would be great) /Andy [1] http://docs.basex.org/wiki/RESTXQ#Custom_Response [2]

Re: [basex-talk] Cross-Origin Resource Sharing ( CORS) not available in jetty version 8

2017-02-25 Thread Michael Seiferle
Hi Rob, in addition to Christian’s mail, one more thought: Great, angular2, haven’t had more than a brief look at it so far :-) I guess you are using that NodeJS-application to serve and generate your AngularJS-files, right? Or are there any other reasons you need NodeJS for? If you only

Re: [basex-talk] Somewhat unusual question

2017-02-25 Thread Kendall Shaw
We users of BaseX probably all agree that it and XQuery are super and powerful. XML ,like RDF, is not a perfect match for every problem. Wordstar is however the solution to every problem. Kendall On 2/25/17, 1:28 AM, "meumapple" wrote: XML offers an elegant yet

Re: [basex-talk] Somewhat unusual question

2017-02-25 Thread Kendall Shaw
On 2/24/17, 7:15 PM, "Liam R. E. Quin" wrote: On Fri, 2017-02-24 at 18:07 +, Kendall Shaw wrote: > For example, a program that regulates flow of water in a garden > sprinkler is probably not a good match for xquery and an xml > database. Funnily enough,

Re: [basex-talk] Somewhat unusual question

2017-02-25 Thread meumapple
XML offers an elegant yet simple tree structure. You can find a way to express in XML the kinds of relationships you mention by simply using a different strategy (using not a parent element but, for example, attributes). In general, every format has limitations (so this is not an XML-related

Re: [basex-talk] Cross-Origin Resource Sharing ( CORS) not available in jetty version 8

2017-02-25 Thread Christian Grün
Hi Rob, > Is replacing jett 8 with version 9 somewere on the agenda? Or can I do this > myself? (new area for me) “Not with some serious code updates”, as a Jetty developer confirmed to me [1]. However, I would definitely like to tackle this in a future version of BaseX. However, Jetty 9 can be

Re: [basex-talk] Somewhat unusual question

2017-02-25 Thread meumapple
I do not think this an argument to Il giorno 25 feb 2017, alle ore 00:05, Kendall Shaw ha scritto: A more interesting example, maybe: If you compare XPath with this SPARQL fragment: ?x foaf:knows/foaf:name ?name . All of my friend’s friend’s friend’s friend’s

[basex-talk] Cross-Origin Resource Sharing ( CORS) not available in jetty version 8

2017-02-25 Thread Rob Stapper
Hi Christian, I'm trying to build a web based frontend with Angular(2) with Basex as backend. Since Angular uses localhost:3000 and basex uses localhost:8984 I need CORS to be activated in the bachend's jetty-service. If I try to activate this by editing the web.xml file I get the message