Search found 649 matches

by alex_jitianu
Mon Feb 06, 2017 10:51 am
Forum: XQuery
Topic: How to print query statement being executed by cts:search
Replies: 1
Views: 999

Re: How to print query statement being executed by cts:search

Hi, From the cts:search documentation I see that they recommend using xdmp:query-trace(true()) . Calling this before the cts:search() will print logging information to the error log. The error log location is system dependent . Unfortunately, from Oxygen, the only way to see these logs is to: 1. pre...
by alex_jitianu
Thu Feb 02, 2017 12:54 pm
Forum: XQuery
Topic: writing test cases for xquery
Replies: 4
Views: 1389

Re: writing test cases for xquery

Hi, XSpec can be used to write test scenarios for both XSLT and XQuery (and from its documentation I see that it also supports MarkLogic ). The latest release is 0.5.0 . Oxygen supports XSpec (mostly for XSLT but, to an extent also XQuery) so you can create and write XSpec scenarios in it. To run th...
by alex_jitianu
Thu Feb 02, 2017 10:24 am
Forum: SDK-API, Frameworks - Document Types
Topic: Custom framework, xpr files, and code templates
Replies: 15
Views: 2362

Re: Custom framework, xpr files, and code templates

Hi,

My pleasure! Others might create the archive on a Mac so I will add an issue to make a more robust detection of the framework. Thank you for sharing :)

Best regards,
Alex
by alex_jitianu
Tue Jan 31, 2017 4:14 pm
Forum: XQuery
Topic: xdmp:document-insert --error
Replies: 1
Views: 1068

Re: xdmp:document-insert --error

Hi, The different behavior might be explained if Oxygen and Marklogic's query console use AppServers that have different default xquery version. For an Xquery 1.0 the query should be: let $a1 := xdmp:unquote("<a><b>bbb</b></a>") return xdmp:document-insert("/vk/test/example.xml",...
by alex_jitianu
Tue Jan 31, 2017 1:45 pm
Forum: SDK-API, Frameworks - Document Types
Topic: Custom framework, xpr files, and code templates
Replies: 15
Views: 2362

Re: Custom framework, xpr files, and code templates

Hi, I can't seem to find the right structure locally and get the error about packing the framework root directory not just its contents. The framework root directory in the one that contains the *.framework file. This is the one that needs to be zipped. Anyway, if you can send me the zipped package ...
by alex_jitianu
Tue Jan 31, 2017 12:10 pm
Forum: SDK-API, Frameworks - Document Types
Topic: Issues when upgrading to SDK 18.1.0.0
Replies: 1
Views: 591

Re: Issues when upgrading to SDK 18.1.0.0

Hi Johann, This error seems to disappear... Is it normal I had to add this dependency ? In version 18.1 we added a dependency for "com.google.guava". If your POM file declares a dependency on our SDK, then all these additional dependencies would be picked up automatically: <dependency> <gr...
by alex_jitianu
Mon Jan 30, 2017 10:26 am
Forum: SDK-API, Frameworks - Document Types
Topic: Custom framework, xpr files, and code templates
Replies: 15
Views: 2362

Re: Custom framework, xpr files, and code templates

Hi, Please send me the plugin package on support@oxygenxml.com so I can take a look at it. I've tried the same scenario myself and in my case the options were imposed. Another thing that goes through my head is that the plugin imposes the options just once, on the first start-up (if it doesn't find ...
by alex_jitianu
Thu Jan 26, 2017 5:55 pm
Forum: SDK-API, Frameworks - Document Types
Topic: Custom framework, xpr files, and code templates
Replies: 15
Views: 2362

Re: Custom framework, xpr files, and code templates

Hi, Unfortunately, Code Templates can't be set from a framework. If there aren't many of them you could create author actions instead. An author action is just a configuration that is kept inside the framework itself. You can contribute these actions inside the content completion window or you can p...
by alex_jitianu
Wed Jan 25, 2017 12:23 pm
Forum: Other Issues
Topic: oxy_xpath with doc() in css, or force an action from oxy_combobox
Replies: 5
Views: 988

Re: oxy_xpath with doc() in css, or force an action from oxy_combobox

Hi Doug,

I'm glad you found the culprit! So because the XPath is invoked inside the context of the main file, when it jumps inside "ocm.xml" it keeps the default namespace... Not what you'd expect... I'll have to investigate a bit more.

Best regards,
Alex
by alex_jitianu
Wed Jan 25, 2017 11:55 am
Forum: XQuery
Topic: Debug Xquery rest-api in MarkLogic
Replies: 27
Views: 3663

Re: Debug Xquery rest-api in MarkLogic

Hi, This is quite unexpected... I'm testing on MarkLogic 8.0-6.1. You said you were using 8.1. Is that an early access? Let's try it like this: 1. Disable the breakpoint. 2. Inside Oxygen's "Data Source Explorer" identify the HTTP server and choose "Enable debug mode" from the co...
by alex_jitianu
Fri Jan 20, 2017 5:38 pm
Forum: XQuery
Topic: Debug Xquery rest-api in MarkLogic
Replies: 27
Views: 3663

Re: Debug Xquery rest-api in MarkLogic

Hi, After you add the breakpoint you start the debugger like you did before: 1. Inside Oxygen's "Data Source Explorer" I've identified the HTTP server and chosen "Enable debug mode" from the contextual menu 2. Inside a browser I access the HTTP server. I notice the server is in d...
by alex_jitianu
Fri Jan 20, 2017 4:06 pm
Forum: Other Issues
Topic: oxy_xpath with doc() in css, or force an action from oxy_combobox
Replies: 5
Views: 988

Re: oxy_xpath with doc() in css, or force an action from oxy_combobox

Hi Doug, In my tests the CSS worked. I've changed it a bit, like this: socm[code]:before { display: inline; content: "Test: " oxy_xpath(oxy_concat("doc('ocm.xml')//category[@code='", attr(code),"']/@term/string()")); font-size: 10pt; color:blue; text-transform: capitali...
by alex_jitianu
Fri Jan 20, 2017 3:47 pm
Forum: General XML Questions
Topic: Distributing cc_config file, and effects
Replies: 7
Views: 2284

Re: Distributing cc_config file, and effects

Hi Abby,

Please make sure you have just ONE <elementProposals> element without a @path attribute. Can you send me the cc_config.xml file on support@oxygenxml.com so I can take a look at it?

Best regards,
Alex
by alex_jitianu
Fri Jan 20, 2017 3:42 pm
Forum: Common Problems
Topic: Error transforming ODD spec to rnc or rng
Replies: 7
Views: 1190

Re: Error transforming ODD spec to rnc or rng

Hi Scott, XTTE0570: An empty sequence is not allowed as the value of variable $max I've noticed this error myself and logged an issue on the TEI C/Stylesheets project: https://github.com/TEIC/Stylesheets/issues/190 . What's interesting is that in my case it appeared when I ran the transformation usi...
by alex_jitianu
Fri Jan 20, 2017 9:57 am
Forum: XQuery
Topic: Debug Xquery rest-api in MarkLogic
Replies: 27
Views: 3663

Re: Debug Xquery rest-api in MarkLogic

Hi, Let's try adding a breakpoint in the Breakpoints view using that URL. In the XQuery Debugger view, in the Breakpoints view invoke the contextual menu and select Add : 1. As the URL set: oxygen://im4w193.svr.us.jpmchase.net/MarkLogic$bpmn-poc/fs//$/opt/MarkLogic/Modules/MarkLogic/rest-api/lib/ext...
by alex_jitianu
Thu Jan 19, 2017 3:56 pm
Forum: XQuery
Topic: Debug Xquery rest-api in MarkLogic
Replies: 27
Views: 3663

Re: Debug Xquery rest-api in MarkLogic

Hi, Once you are in the extension you can use Step In , Step Out , Step Over to navigate. Step In gives you fine control and Step Over , Step Out can help you jump over large sections that you are not interested in. I know that having breakpoints make it easier to get to the area you are interested ...
by alex_jitianu
Wed Jan 18, 2017 5:15 pm
Forum: XQuery
Topic: Debug Xquery rest-api in MarkLogic
Replies: 27
Views: 3663

Re: Debug Xquery rest-api in MarkLogic

Hi, Debugging a REST resource extension appears to be quite tricky. First of all the REST extension is loaded dynamically which means that its module URI is not known to the server at the beginning of the debugging session. To add breakpoints we use MarkLogic's API dbg:break() and dbg:line() . These...
by alex_jitianu
Wed Jan 18, 2017 10:07 am
Forum: Common Problems
Topic: Maven Eclipse SDK Install Fails
Replies: 11
Views: 2491

Re: Maven Eclipse SDK Install Fails

Hi, I'm glad to hear it worked! Next step: try to import this project into Eclipse using my externally installed Maven. It shouldn't pose any difficulties. If you just create a new Java project (File->New) and you specify the path of the already created project, Eclipse will automatically detect its...
by alex_jitianu
Tue Jan 17, 2017 6:05 pm
Forum: XQuery
Topic: Debug Xquery rest-api in MarkLogic
Replies: 27
Views: 3663

Re: Debug Xquery rest-api in MarkLogic

Hi,

What I didn't have in my tests was an XQuery Resource Service Extension. I'll create such a XQuery Resource Service Extension myself and let you know what I discover.

Best regards,
Alex
by alex_jitianu
Tue Jan 17, 2017 1:08 pm
Forum: General XML Questions
Topic: Distributing cc_config file, and effects
Replies: 7
Views: 2284

Re: Distributing cc_config file, and effects

Hi Abby, Have you tried putting them both on the same declaration, like this? <elementProposals rejectAttributes="audience platform" rejectElements="abstract apiname bodydiv boolean" /> The "Additional frameworks directories" entries have to be file paths (no protocol a...
by alex_jitianu
Tue Jan 17, 2017 12:53 pm
Forum: Common Problems
Topic: Maven Eclipse SDK Install Fails
Replies: 11
Views: 2491

Re: Maven Eclipse SDK Install Fails

Hi, I'm not sure how it managed to automatically detect the URL, but if it's there... What if you try to create the project from the command line? Does it succeed in connection to the Maven repository. mvn archetype:generate -DarchetypeGroupId=com.oxygenxml.samples -DarchetypeArtifactId=oxygen-sdk-s...
by alex_jitianu
Tue Jan 17, 2017 11:58 am
Forum: XQuery
Topic: Debug Xquery rest-api in MarkLogic
Replies: 27
Views: 3663

Re: Debug Xquery rest-api in MarkLogic

Hi, Our web application is not run on the Http server on Marklogic. Its a separate tomcat server that receives the REST calls. So, if I understand this correctly, the Tomcat server is the entry point and will delegate at some point to the MarkLogic server. Also, is the bill application also involve ...
by alex_jitianu
Mon Jan 16, 2017 5:50 pm
Forum: Common Problems
Topic: Maven Eclipse SDK Install Fails
Replies: 11
Views: 2491

Re: Maven Eclipse SDK Install Fails

Hello, I think our SDK instruction page has some incomplete content. In the new Add Archetype dialog box, fill the data from the Startup Project Archetype Details. Leave the Repository URL field empty. Press OK to close the dialog box. Do not "Leave the Repository URL field empty" but inst...
by alex_jitianu
Mon Jan 16, 2017 5:30 pm
Forum: Feature Request
Topic: integration of XSpec v0.5.0
Replies: 4
Views: 981

Re: integration of XSpec v0.5.0

Hi Sandro,

I'm glad to see that the XSpec project is active! We will definitely integrate it inside the next Oxygen version. Hopefully our internal tests of the XSpec integration will not encounter any issues. If any issues arise, I will post them on the XSpec GitHub page.

Best regards,
Alex
by alex_jitianu
Mon Jan 16, 2017 4:40 pm
Forum: SDK-API, Frameworks - Document Types
Topic: oxy_popup for #text with default value
Replies: 4
Views: 1923

Re: oxy_popup for #text with default value

Hi Patrik,

Sure thing! I'll send you the source code on email.

Best regards,
Alex
by alex_jitianu
Mon Jan 16, 2017 1:17 pm
Forum: SDK-API, Frameworks - Document Types
Topic: oxy_popup for #text with default value
Replies: 4
Views: 1923

Re: oxy_popup for #text with default value

Hi Patrik, The oxy_popup form control doesn't handle the empty values too well. I see that the renderer always presents [Empty] , even when I try to associate a label to the empty value by using the values and labels parameters. I'll add an issue to fix it. Meanwhile, how about using an non editable...
by alex_jitianu
Mon Jan 16, 2017 12:04 pm
Forum: XQuery
Topic: Debug Xquery rest-api in MarkLogic
Replies: 27
Views: 3663

Re: Debug Xquery rest-api in MarkLogic

Hi, The HTTP app server (named WaaS_Audit_Server) doesn't look to be inside a debugging session because it has no running requests (<request-statuses> container element). Here is a log that I've generated while an HTTP app server (in my case named "bill") was in debug mode. Please not its ...
by alex_jitianu
Fri Jan 13, 2017 3:47 pm
Forum: General XML Questions
Topic: Distributing cc_config file, and effects
Replies: 7
Views: 2284

Re: Distributing cc_config file, and effects

Hi, Apparently, <elementProposals> do not stack together so your elements will override one another. I'll have a look to see if it is something that we can improve on the loading part or, at least, make the documentation clear. Meanwhile, you should group them all like this: <elementProposals reject...
by alex_jitianu
Fri Jan 13, 2017 12:44 pm
Forum: XQuery
Topic: Debug Xquery rest-api in MarkLogic
Replies: 27
Views: 3663

Re: Debug Xquery rest-api in MarkLogic

Hi, From the log, I see that the HTTP Server (WaaS_Audit_Server ) is not running any requests. It should have presented the request you started from the browser, when you accessed the entry point query. Did you put it in "Debug mode" from the Data Source Explorer contextual menu, before ma...
by alex_jitianu
Thu Jan 12, 2017 4:27 pm
Forum: XQuery
Topic: Debug Xquery rest-api in MarkLogic
Replies: 27
Views: 3663

Re: Debug Xquery rest-api in MarkLogic

Hi,

One thing I forgot to mention. Please run this query during the debugging process, just after the step that opens the blank "tasklist" editor.

Thanks!
Alex

Go to advanced search