Search found 604 matches

by alex_jitianu
Thu Jan 19, 2017 3:56 pm
Forum: XQuery
Topic: Debug Xquery rest-api in MarkLogic
Replies: 27
Views: 1592

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: 1592

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: 7
Views: 970

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: 1592

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: 1833

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: 7
Views: 970

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: 1592

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: 7
Views: 970

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: 628

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: 1576

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: 1576

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: 1592

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: 1833

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: 1592

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: 1592

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
by alex_jitianu
Thu Jan 12, 2017 1:41 pm
Forum: XQuery
Topic: Debug Xquery rest-api in MarkLogic
Replies: 27
Views: 1592

Re: Debug Xquery rest-api in MarkLogic

Hi, First of all, thank you for taking the time to get to the bottom of this issue. Can you please run this query and send me the result? Before doing that, please replace the name of the two servers specified at the beginning, in the two variables. To run it you can use the "XPath/XQuery Build...
by alex_jitianu
Wed Jan 11, 2017 1:08 pm
Forum: General XML Questions
Topic: Distributing cc_config file, and effects
Replies: 7
Views: 1833

Re: Distributing cc_config file, and effects

Hello Abby, [*]I only modified the excludeElements list for now, but if I need to modify this again in the future, will there be any "side effects" of distributing the new file for the writers? For example, if the writers have customized x, y, or z in the UI or elsewhere (not in the cc_con...
by alex_jitianu
Wed Jan 11, 2017 11:31 am
Forum: XQuery
Topic: Debug Xquery rest-api in MarkLogic
Replies: 27
Views: 1592

Re: Debug Xquery rest-api in MarkLogic

Hi, the first file being debugged is a xquery library file in MarkLogic called MarkLogic/rest-api/endpoints/resource-service-query.xqy If you use Step Into/Over/Out do you eventually end up inside tasklist.xqy (the module)? What MarkLogic version and Oxygen version are you using? it opens my tasklis...
by alex_jitianu
Tue Jan 10, 2017 4:52 pm
Forum: XQuery
Topic: Debug Xquery rest-api in MarkLogic
Replies: 27
Views: 1592

Re: Debug Xquery rest-api in MarkLogic

Hello, Does the XDBC AppServer configured inside Oxygen have the same Modules configuration as the HTTP App Server? You can verify this inside MarkLogic's admin interface (an HTTP server that usually runs on port 8001). Identify the AppServers inside the Configure/Groups section. Identify the two Ap...
by alex_jitianu
Tue Jan 10, 2017 10:53 am
Forum: XQuery
Topic: Debug Xquery rest-api in MarkLogic
Replies: 27
Views: 1592

Re: Debug Xquery rest-api in MarkLogic

Hello, Could not initialize the server debugging session. Reason: Error encountered in module: /eval : XDMP-EVALLIBMOD: dbg:invoke("/marklogic.rest.resource/tasklist/assets/resource.xqy" This error message suggests that you've tried to start the debugging session directly from Oxygen, on r...
by alex_jitianu
Thu Dec 29, 2016 5:18 pm
Forum: SDK-API, Frameworks - Document Types
Topic: Custom functions in CSS oxy_url()
Replies: 17
Views: 2497

Re: Custom functions in CSS oxy_url()

Hi Steve,

I've sent you some sample files on your email address. These sample files work for me so perhaps we can compare them with your own and draw a conclusion...

Best regards,
Alex
by alex_jitianu
Wed Dec 28, 2016 5:29 pm
Forum: SDK-API, Frameworks - Document Types
Topic: Custom functions in CSS oxy_url()
Replies: 17
Views: 2497

Re: Custom functions in CSS oxy_url()

Hi Steve, Perhaps you have disabled the XInclude processing? Please go to Options->Preferences on page XML / XML Parser and make sure that "Enable XInclude processing" is selected. If this isn't the cause then perhaps you can send me a small sample on support@oxygenxml.com. Best regards, A...
by alex_jitianu
Wed Dec 28, 2016 12:13 pm
Forum: Other Issues
Topic: executing XPath after XInclude
Replies: 2
Views: 860

Re: executing XPath after XInclude

Hi,

For future reference, starting with version 17.1, oxy_xpath() also expands XIncludes.

Best regards,
Alex
by alex_jitianu
Wed Dec 28, 2016 12:03 pm
Forum: SDK-API, Frameworks - Document Types
Topic: Custom functions in CSS oxy_url()
Replies: 17
Views: 2497

Re: Custom functions in CSS oxy_url()

Hi Steve,

Actually, starting with version 17.1, oxy_xpath() also expands xincludes. What Oxygen version are you using?

Best regards,
Alex
by alex_jitianu
Tue Dec 20, 2016 4:28 pm
Forum: TEI
Topic: Error when running transformation in Oxy 18.1, but not outside Oxygen
Replies: 4
Views: 1790

Re: Error when running transformation in Oxy 18.1, but not outside Oxygen

Hi Martin, When running the transformation from within Oxygen, Saxon will be licensed and because of that it will apply a number of optimizations. This is why is failing. When running the same command line outside Oxygen, Saxon will not be license (the Home Edition will be used) and so the optimizat...
by alex_jitianu
Tue Dec 20, 2016 3:58 pm
Forum: TEI
Topic: Error when running transformation in Oxy 18.1, but not outside Oxygen
Replies: 4
Views: 1790

Re: Error when running transformation in Oxy 18.1, but not outside Oxygen

Hi Martin, I managed to reproduce the issue with by using oxygen-tei-6.1.0 and I also see the different behavior between running the transformation in Oxygen and running it from the command line. I'll investigate some more. As a side note, I see that using Saxon 9.7 will make the transformation succ...
by alex_jitianu
Tue Dec 20, 2016 1:52 pm
Forum: TEI
Topic: Error when running transformation in Oxy 18.1, but not outside Oxygen
Replies: 4
Views: 1790

Re: Error when running transformation in Oxy 18.1, but not outside Oxygen

Hi Martin, The Saxon issue you've it's probably the cause. but I still can't see how it only happens when running from within Oxygen, not when running exactly the same command in bash directly Are you using exactly the same command, copied from the console inside Oxygen? I'm curious if the -lib para...
by alex_jitianu
Fri Dec 16, 2016 5:03 pm
Forum: DITA (Editing and Publishing DITA Content)
Topic: Clarification in Imagemap
Replies: 5
Views: 584

Re: Clarification in Imagemap

Hi, We would like to know more about the workaround solution which is custom Edit Map action. After creating the sample SDK project , focus on the oxygen-sample-framework module. Inside oxygen-sample-framework\samples\Oxygen Default Frameworks you will find the sample code for our built-in framework...
by alex_jitianu
Thu Dec 15, 2016 4:42 pm
Forum: DITA (Editing and Publishing DITA Content)
Topic: Clarification in Imagemap
Replies: 5
Views: 584

Re: Clarification in Imagemap

Hi Mounika, 1) When an <imagemap> is inserted and <keyref> is used for image is it possible to have imagemap editor? Currently imagemap editor is shown only for href in image. This is an issue on our part. We will fix it for the next version of Oxygen. If it is time we will try to push a fix into a ...
by alex_jitianu
Wed Dec 14, 2016 10:39 am
Forum: Other Issues
Topic: XSLT validation error in Saxon
Replies: 2
Views: 513

Re: XSLT validation error in Saxon

Hello,

Please make sure you are running the latest 18.1 build which has the Build Id: 2016112217 (Saxon 9.7.0.14 needs this latest build). To see what build you have, please go to Help->About.

Best regards,
Alex

Go to advanced search