Search found 649 matches

by alex_jitianu
Wed Apr 26, 2017 2:49 pm
Forum: XQuery
Topic: xdmp:unqote and cts:query($qNode/*) from the generated node
Replies: 1
Views: 1832

Re: xdmp:unqote and cts:query($qNode/*) from the generated node

Hi, If I understand it correctly, you have a query like this: let $query:= '<cts:path-range-query xmlns:cts="http://marklogic.com/cts" operator="&le;"> <cts:path-expression>processInstance/tasks/task/auditTask/createdOn </cts:path-expression> <cts:value xsi:type="xs:date...
by alex_jitianu
Thu Apr 20, 2017 10:32 am
Forum: DITA (Editing and Publishing DITA Content)
Topic: auto-p element in new li not working reliably
Replies: 3
Views: 704

Re: auto-p element in new li not working reliably

Hi Patrik, Tis behavior is driven by the schema. If you type inside an element that doesn't accept text then we try to find solution. Firstly, we try a few framework-dependent solutions. For DITA, one of these solution is to try wrapping the text inside a paragraph. If your framework extends the Bui...
by alex_jitianu
Tue Apr 18, 2017 11:38 am
Forum: SDK-API, Frameworks - Document Types
Topic: oxy_audio error in Author page
Replies: 9
Views: 1351

Re: oxy_audio error in Author page

Hi Johann,

Do you have a custom DPI (Dots per Inch) size setting? Perhaps it will also help if you send us more information about your system. The fastest way to do that is to go inside Oxygen to Help->Report problem... and just send us the report.

Best regards,
Alex
by alex_jitianu
Thu Apr 13, 2017 4:23 pm
Forum: DITA (Editing and Publishing DITA Content)
Topic: Disabling a value in multiple check box form control
Replies: 1
Views: 413

Re: Disabling a value in multiple check box form control

Hi, I see that the sample code uses a combo box form control ( oxy_combobox() ). I assume you meant to use oxy_checkbox() , right? Should these check boxes be mutually exclusive? Selecting one should uncheck all others? If the answer is yes then you can do it like this: *[class~="topic/x"]...
by alex_jitianu
Thu Apr 13, 2017 4:08 pm
Forum: DITA (Editing and Publishing DITA Content)
Topic: CSS property for having same attribute for dropdown and checkbox
Replies: 3
Views: 693

Re: CSS property for having same attribute for dropdown and checkbox

Hi, This "unrecognized content " error happens when you validate the CSS? Another thing to consider is that the XQuery files must be located inside the framework because of security reasons. Scripts that are outside the framework directory can be dangerous so they are executed with restric...
by alex_jitianu
Wed Apr 12, 2017 12:02 pm
Forum: SDK-API, Frameworks - Document Types
Topic: oxy_audio error in Author page
Replies: 9
Views: 1351

Re: oxy_audio error in Author page

Hi Johann, We tested on multiple stations and operating systems but we didn't reproduce this behavior. You are also the only one that reported this situation so far. Can you test an Oxygen version 19 and see if the same behavior happens when opening samples\form -controls\about\form-controls.xml ? P...
by alex_jitianu
Tue Apr 11, 2017 5:29 pm
Forum: SDK-API, Frameworks - Document Types
Topic: Set attribute value by web form query
Replies: 4
Views: 1272

Re: Set attribute value by web form query

Hello, If you have Oxygen version 19 then you can use oxy_browser() form control to load an HTML page. From the Javascript loaded by the browser you can update the XML document using some global variables . On GitHub we have a sample framework that uses this form control to load Google Maps and upda...
by alex_jitianu
Tue Apr 11, 2017 5:05 pm
Forum: XSLT and FOP
Topic: How to validate XSLT 3.0 stylesheet with xsl:use-package?
Replies: 20
Views: 2440

Re: How to validate XSLT 3.0 stylesheet with xsl:use-package?

Hello, According to Saxon's documentation : The package catalog is an XML document containing package elements, the @href attributes of which are taken as the URLs of package files; if these are relative URLs then they are resolved against the base URI of the package catalog itself. Package names an...
by alex_jitianu
Tue Apr 11, 2017 4:25 pm
Forum: DITA (Editing and Publishing DITA Content)
Topic: CSS property for having same attribute for dropdown and checkbox
Replies: 3
Views: 693

Re: CSS property for having same attribute for dropdown and checkbox

Hi Mounika, Unfortunately the default form controls can't be used in this scenario because they are intended to edit an attribute's value as a whole. You basically need two form controls to edit parts of the same attribute. You can create a custom form control that will handle this specific case. As...
by alex_jitianu
Tue Apr 11, 2017 10:32 am
Forum: XSLT and FOP
Topic: How to validate XSLT 3.0 stylesheet with xsl:use-package?
Replies: 20
Views: 2440

Re: How to validate XSLT 3.0 stylesheet with xsl:use-package?

Hello, Thank you for reporting this issue. I did some research and it looks like the only way one can load packages into Saxon is through these two methods : Packages must be explicitly loaded into a configuration, for example by use of the -pack option on the command line or by the method XsltCompi...
by alex_jitianu
Mon Apr 10, 2017 2:39 pm
Forum: SDK-API, Frameworks - Document Types
Topic: oxy_audio error in Author page
Replies: 9
Views: 1351

Re: oxy_audio error in Author page

Hi,

Do you happen to have a retina/ HiDpi screen?
I will send you an email with a modified version of oxygen-jfx-components.jar that contains a possible fix to this issue. You can replace the exisitng one inside {oxygenInstallDir}/lib and test again.

Best regards,
Alex
by alex_jitianu
Mon Apr 03, 2017 10:42 am
Forum: SDK-API, Frameworks - Document Types
Topic: Override the "accept" action in Manage Reviews panel
Replies: 4
Views: 1078

Re: Override the "accept" action in Manage Reviews panel

Hello Isabelle, The "Accept" action appears only when you hover an entry in the Review panel. This means that you can intercept it on the customizeHoverActions() callback: public void customizeHoverActions(AuthorAccess authorAccess, AuthorPersistentHighlight authorPersistentHighlight, List...
by alex_jitianu
Mon Apr 03, 2017 10:16 am
Forum: SDK-API, Frameworks - Document Types
Topic: Catch "onchange" event of a document
Replies: 1
Views: 613

Re: Catch "onchange" event of a document

Hi Isabelle, The InplaceEditingListener is used only when creating custom form controls . For your use case you should use a ro.sync.ecss.extensions.api.AuthorListener . In the context of an Author Component, such a listener is added like this: WSEditorPage currentPage = editorComponent.getWSEditorA...
by alex_jitianu
Thu Mar 30, 2017 2:53 pm
Forum: SDK-API, Frameworks - Document Types
Topic: Override the "accept" action in Manage Reviews panel
Replies: 4
Views: 1078

Re: Override the "accept" action in Manage Reviews panel

Hello, You can customize the actions in the Review panel using an ReviewActionsProvider . You can set one line this: if (EditorPageConstants.PAGE_AUTHOR.equals(editorComponent.getWSEditorAccess().getCurrentPageID())) { WSAuthorComponentEditorPage page = (WSAuthorComponentEditorPage) editorComponent....
by alex_jitianu
Mon Mar 27, 2017 3:39 pm
Forum: SDK-API, Frameworks - Document Types
Topic: Action's name for edit comment
Replies: 1
Views: 692

Re: Action's name for edit comment

Hi Isabelle,

As far as I can tell it was replaced by "Edit/Show_edit_comments". We usually try not to change these tags but this one escaped... Sorry about that!

Best regards,
Alex
by alex_jitianu
Fri Mar 10, 2017 4:13 pm
Forum: XSLT and FOP
Topic: XSLT validation scenario with Saxon initializer class
Replies: 4
Views: 1232

Re: XSLT validation scenario with Saxon initializer class

Hi Patrik,

I agree. Having a Saxon configuration inside the validation scenario itself is the proper way to handle such situations. I've also added an issue for this feature but it's not going to make it in version 19 (development is currently frozen).

Best regards,
Alex
by alex_jitianu
Thu Mar 09, 2017 5:29 pm
Forum: XSLT and FOP
Topic: XSLT validation scenario with Saxon initializer class
Replies: 4
Views: 1232

Re: XSLT validation scenario with Saxon initializer class

Hi Patrik, Currently you can't set Saxon options in a validation scenario. In the version 19 (to be released in mid April) though, things will be better: we will detect the transformation scenario associated with the master and we will use it when validation. All you will have to do in the validatio...
by alex_jitianu
Mon Mar 06, 2017 11:52 am
Forum: Other Issues
Topic: Replacing hints styles with custom hints
Replies: 1
Views: 554

Re: Replacing hints styles with custom hints

Hi, Yes, it is possible. You'll have to change hints.css and specify a remote location for the hints file: hints { content: oxy_htmlContent(href, 'http://www.oxygenxml.com/hints.html', id, "div_id", width, 100%); } You could probably use the Find/Replace dialog to change all occurrences (t...
by alex_jitianu
Fri Mar 03, 2017 11:08 am
Forum: Common Problems
Topic: ouput.log is in protected folder
Replies: 5
Views: 945

Re: ouput.log is in protected folder

Hi Richard, I was thinking that there would be a place where I could set the location of output.log, but you don't mention being able to do that. I didn't say anything about that because I don't know who tries to write to this output.log file. Are you saying that something that I wrote is trying to ...
by alex_jitianu
Thu Mar 02, 2017 11:04 am
Forum: Common Problems
Topic: ouput.log is in protected folder
Replies: 5
Views: 945

Re: ouput.log is in protected folder

Hi Richard, So inside the Schematron you are writing log data inside the output.log file. When someone opens a document inside oxygen that document is automatically validated (without the user even knowing). Because of that we run the validation in a sandbox and we don't allow certain actions, like ...
by alex_jitianu
Mon Feb 27, 2017 6:10 pm
Forum: DITA (Editing and Publishing DITA Content)
Topic: CSS for a dropdown
Replies: 3
Views: 530

Re: CSS for a dropdown

Hi Mounika, Unfortunately, with the built-in form controls that's not possible. In theory, using selectors you can distinguish between these situations. For example: <root> <x>xxxx</x> <x>xxxx<title>yyyy</title></x> </root> x:after { content: oxy_combobox(edit, '@a'); } x:has(title):after { content:...
by alex_jitianu
Mon Feb 27, 2017 5:44 pm
Forum: XQuery
Topic: How to search json document using xquery and output results
Replies: 3
Views: 1628

Re: How to search json document using xquery and output results

Hi, Oxygen doesn't have a built-in engine for processing Json with XQuery. If the JSON is stored inside MarkLogic then you can create an XQuery, run it against the server and, in the context of the server, that query can process JSON. On the Oxygen side, you will create an XQuery transformation and ...
by alex_jitianu
Fri Feb 24, 2017 4:09 pm
Forum: DITA (Editing and Publishing DITA Content)
Topic: CSS for a dropdown
Replies: 3
Views: 530

Re: CSS for a dropdown

Dear Mounika, Have you tried putting the form control on an "after" element? Like this: x:after(5) { content: oxy_combobox( edit, "@outputclass", editable, false, labels, "collapsed, expanded, static" values, "collapsed, expanded, static", columns, 9, fontInhe...
by alex_jitianu
Thu Feb 23, 2017 4:53 pm
Forum: SDK-API, Frameworks - Document Types
Topic: Configuring Proposed Values in the Context that the Content Completion was Invoked - SAXON
Replies: 1
Views: 670

Re: Configuring Proposed Values in the Context that the Content Completion was Invoked - SAXON

Hi Johann, In theory the XSLT should run just fine with Saxon-HE (which is available in the Author Component) as long as the XSLT doesn't use any functionality available only in the PE/EE versions. If you would need access to the element for which the CC was invoked, you will run into this issue (be...
by alex_jitianu
Fri Feb 17, 2017 9:55 am
Forum: SDK-API, Frameworks - Document Types
Topic: Action ToggleSurroundWithElementOperation inconsistent
Replies: 5
Views: 911

Re: Action ToggleSurroundWithElementOperation inconsistent

Hi,

I'll have a look at the framework. I have to say that I don't reproduce the described behavior using the built-in DITA framework.

Best regards,
Alex
by alex_jitianu
Thu Feb 16, 2017 3:34 pm
Forum: SDK-API, Frameworks - Document Types
Topic: Action ToggleSurroundWithElementOperation inconsistent
Replies: 5
Views: 911

Re: Action ToggleSurroundWithElementOperation inconsistent

Hi, Please make sure that your action uses the ro.sync.ecss.extensions.commons.operations.ToggleSurroundWithElementOperation operation because only this operation knows how to wrap/unwrap. I suspect that your action is currently using ro.sync.ecss.extensions.commons.operations.SurroundWithFragmentOp...
by alex_jitianu
Wed Feb 15, 2017 5:24 pm
Forum: SDK-API, Frameworks - Document Types
Topic: element insertion with custom pseudo class
Replies: 3
Views: 658

Re: element insertion with custom pseudo class

Hello, It should work. Does your second action (the one that sets the pseudo class) have an activation XPath? If you have then that might be the cause. All the activation XPaths are tested (wrongfully) at the beginning of the compound action. We fixed this in the current development stream and the f...
by alex_jitianu
Tue Feb 14, 2017 5:06 pm
Forum: XQuery
Topic: How to search json document using xquery and output results
Replies: 3
Views: 1628

Re: How to search json document using xquery and output results

Hi, To execute this inside Oxygen there are two possibilities: 1. Use the XPath/XQuery Builder . On the top of the view select the MarkLogic connection as the engine that will execute the queries. paste the query and execute it. 2. If you put the query inside an XQuery editor then you need to create...
by alex_jitianu
Tue Feb 14, 2017 4:55 pm
Forum: XQuery
Topic: writing test cases for xquery
Replies: 4
Views: 1387

Re: writing test cases for xquery

Hi,

I had the chance to talk with some guys from MarkLogic about unit testing. Although XSpec can test function calls, sometimes you need more, like creating an entire test infrastructure. They recommended using Roxyor XRay. Hope it helps...

Best regards,
Alex
by alex_jitianu
Mon Feb 06, 2017 11:05 am
Forum: XQuery
Topic: writing test cases for xquery
Replies: 4
Views: 1387

Re: writing test cases for xquery

Hi, Unfortunately I don't have much experience with writing tests fro XQuery. We only integrated the XSLT testing part into Oxygen. I think that what differs from an XSLT test is that you'll have to use the @query attribute on the root to refer the tested query. <x:description xmlns:x="http://w...

Go to advanced search