Search found 1009 matches

by alex_jitianu
Mon Apr 28, 2014 4:23 pm
Forum: General XML Questions
Topic: CSS select previous sibling
Replies: 3
Views: 3267

Re: CSS select previous sibling

Hi Deanna, The code below, changes the content property in the styles. This is the same property on which you put the oxy_xpath() on. The StylesFilter is applied last so it will override the rule from the CSS. else if (authorNode.getName().equals("NEIGHBORHOOD")) { // getOwnerDocument retu...
by alex_jitianu
Fri Apr 25, 2014 4:56 pm
Forum: Common Problems
Topic: Bugs in CALS Table processing ?
Replies: 10
Views: 6217

Re: Bugs in CALS Table processing ?

Hi Pascale, 2. So you would like to group together the messages from each Schematron file? Currently, like you've noticed, the "Group By Operation description" actually refers to the type of schema from which the errors were received: DTD, XSD, Schematron. If you put each Schematron file i...
by alex_jitianu
Fri Apr 25, 2014 3:07 pm
Forum: SDK-API, Frameworks - Document Types
Topic: Showing the TOC in the Author view
Replies: 1
Views: 1947

Re: Showing the TOC in the Author view

Hi Pascale, We don't have a way to dynamically generate such a Table of Content. Here is what you can do: 1. You can offer an alternative CSS that will render the entire document just like a Table of Content. The user will use the Styles button on the toolbar to switch to this TOC mode, position its...
by alex_jitianu
Fri Apr 25, 2014 12:49 pm
Forum: General XML Questions
Topic: CSS select previous sibling
Replies: 3
Views: 3267

Re: CSS select previous sibling

Hi, I tested the samples you provided and in my case the author mode presented just what you've expected : North America|Canada|British Columbia|Whistler . Perhaps there is a StylesFilter involved and it also changes the styles of the element? If not, what Oxygen version you are using? If you test t...
by alex_jitianu
Fri Apr 25, 2014 12:34 pm
Forum: SDK-API, Frameworks - Document Types
Topic: oxy_link-text() and refresh
Replies: 2
Views: 2297

Re: oxy_link-text() and refresh

Hi Pascale, Your link resolver should listen on document changes. When such an attribute changes, if it keeps some sort of cache it must clear what's outdated and must call refresh on the node. You can use the activated call of the resolver to add such a listener. Here is how we do it in the default...
by alex_jitianu
Tue Apr 22, 2014 4:56 pm
Forum: General XML Questions
Topic: Surround with multiple tags
Replies: 1
Views: 2095

Re: Surround with multiple tags

Hello, I think there are two possible solutions to both of your questions: 1. You can create author actions that use the SurroundWithFragmentOperation to specify the elements that will wrap the selection. These actions can be added in the content completion menu or in toolbars and menus. To refer to...
by alex_jitianu
Thu Apr 17, 2014 2:01 pm
Forum: Common Problems
Topic: Bugs in CALS Table processing ?
Replies: 10
Views: 6217

Re: Bugs in CALS Table processing ?

Hi Pascale, I've registered the issues for version 16. Unfortunately there isn't much time left before v16 release so I can't guarantee they will make into it (other issues might be considered more critical). I've added your email address on the issue so you will be notified when it gets implemented...
by alex_jitianu
Thu Apr 17, 2014 1:45 pm
Forum: Common Problems
Topic: Bugs in CALS Table processing ?
Replies: 10
Views: 6217

Re: Bugs in CALS Table processing ?

Hello, As far as the validation goes, we already have a recorded issue to catch these type of error using Schematron. Until we resolve the issue though, there is an Open Source project done by Delta XML about CALS Table validity . You can get the Schematron files from there, create a validation scen...
by alex_jitianu
Wed Apr 16, 2014 11:15 am
Forum: SDK-API, Frameworks - Document Types
Topic: "Dashboard"
Replies: 1
Views: 1906

Re: "Dashboard"

Hello Stefan, We have something somewhat similar, the Welcome Screen, which appears when there are no editors open. I think we added this feature in 15.0. Do you think it would help you if we would allow you to give an URL from where the presented information is retrieved? The presented information ...
by alex_jitianu
Wed Apr 16, 2014 9:17 am
Forum: Common Problems
Topic: Chaining transformations
Replies: 7
Views: 3694

Re: Chaining transformations

Hello, There are a couple of ways of doing that: 1. In the Configure transformation Scenario dialog you can associate multiple scenarios at once. All of them will be executed when clicking Apply transformation scenarios . Please note that the scenarios can be associate by default in the Transformati...
by alex_jitianu
Tue Apr 15, 2014 4:02 pm
Forum: SDK-API, Frameworks - Document Types
Topic: Replacing characters in an "ask" editor variable
Replies: 10
Views: 6124

Re: Replacing characters in an "ask" editor variable

Hi Stefan,

That note actually refers to a different issue: while editing attributes with form controls, reserved characters (&, <) were not escaped. The fix to the issue from this thread is not present in the update.

Best regards,
Alex
by alex_jitianu
Tue Apr 15, 2014 3:31 pm
Forum: Common Problems
Topic: Oxygen Author Component (Applet) author mode: Manage Comment
Replies: 3
Views: 2236

Re: Oxygen Author Component (Applet) author mode: Manage Com

Hello, I understand that you are referring to the built-in action "Add Comment..."? I'm not sure how Add comment... should react when the document is marked as not being editable. Right now though, the action is kind of misleading: it appears enabled but it does nothing. You can implement ...
by alex_jitianu
Fri Apr 11, 2014 3:05 pm
Forum: SDK-API, Frameworks - Document Types
Topic: AuthorDocumentController.evaluateXPath with custom extension
Replies: 1
Views: 1742

Re: AuthorDocumentController.evaluateXPath with custom exten

Hello Patrik, Currently we don't have such an API. I can think of the following solutions: 1. Instead of using *AuthorDocumentController.evaluateXPath* create a transformer (you can specify the extensions functions to use) and execute it over the current document. Something like this: ExtensionFunct...
by alex_jitianu
Wed Mar 19, 2014 3:15 pm
Forum: Common Problems
Topic: How to toggle attribute values?
Replies: 2
Views: 1774

Re: How to toggle attribute values?

Hello, ChangeAttributeOperation should be enough. Just create an author action with two action modes, one for each possible state of the attribute: 1. First operation mode. Activation XPath: @currency (the attribute exists) and ChangeAttributeOperation will set @currency to an empty value to remove ...
by alex_jitianu
Mon Mar 17, 2014 4:41 pm
Forum: Other Issues
Topic: validate of attributes from CSS
Replies: 3
Views: 1859

Re: validate of attributes from CSS

Hello, Thank you for reporting this problem. I've added a high priority issue and you'll get notified as soon as it's resolved. Meanwhile, you could resolve the problem at the ro.sync.ecss.extensions.api.AuthorDocumentFilter level on the setAttribute(AuthorDocumentFilterBypass, String, AttrValue, Au...
by alex_jitianu
Thu Mar 13, 2014 11:53 am
Forum: SDK-API, Frameworks - Document Types
Topic: Error during refresh of an AuthorNode
Replies: 3
Views: 2742

Re: Error during refresh of an AuthorNode

Hi, I've already added a note on the refresh() method that it needs to be fired on AWT and I'll also take a look to see if I identify other omissions. Calling refresh() is the correct way to handle these situations. When you move the mouse over that element you may have some :hover rules that activa...
by alex_jitianu
Wed Mar 12, 2014 11:24 am
Forum: SDK-API, Frameworks - Document Types
Topic: Error during refresh of an AuthorNode
Replies: 3
Views: 2742

Re: Error during refresh of an AuthorNode

Hello, There are two possible causes that come to mind: 1. The page.refresh(element) call should be called on the AWT thread because it updates the layout. Something like this: SwingUtilities.invokeLater(new Runnable() { @Override public void run() { page.refresh(element); } }); 2. Make sure the ele...
by alex_jitianu
Tue Mar 11, 2014 3:43 pm
Forum: Other Issues
Topic: XPath to address fullySelectedNode in Author View
Replies: 2
Views: 2308

Re: XPath to address fullySelectedNode in Author View

Hello Simon, There's an XPath extension function that you can use: oxy:current-selected-element() . It returns the fully selected node (if any). This function can be used in the activation XPath of an action as well as in any operation argument which is an XPath expression. For your situation you'll...
by alex_jitianu
Mon Mar 10, 2014 1:11 pm
Forum: Other Issues
Topic: CSS recursive oxy_substring
Replies: 2
Views: 1419

Re: CSS recursive oxy_substring

Hello, I think you can get the desired behavior by using these two rules: NEIGHBORHOOD:before { content: attr(name) } NEIGHBORHOOD[name*="|"]:before { content: oxy_substring(attr(name), oxy_add(oxy_lastindexof(attr(name), '|'), 1, integer)) } The first one will handle the case when the nam...
by alex_jitianu
Mon Mar 03, 2014 4:49 pm
Forum: Common Problems
Topic: content completion not working everywhere Oxygen 15.2
Replies: 5
Views: 3275

Re: content completion not working everywhere Oxygen 15.2

Hello, Thank you for the add-on. We've managed to reproduce the problem and the fix will be available in the next 15.2 maintenance build which should be released in a couple of days. This problem has the same root as the problem you reported earlier on the support list, the one with lang attribute: ...
by alex_jitianu
Mon Mar 03, 2014 4:11 pm
Forum: SDK-API, Frameworks - Document Types
Topic: Efficient CSS Tips
Replies: 2
Views: 2714

Re: Efficient CSS Tips

Hello, We've analyzed your framework and I think it is a good idea to post what you've discovered so that others that read this post will benefit from it. The general advice is that both oxy_xpath and :hover pseudo-classes are very powerful but there is a trade-off between expressiveness and perform...
by alex_jitianu
Fri Feb 28, 2014 12:16 pm
Forum: SDK-API, Frameworks - Document Types
Topic: Efficient CSS Tips
Replies: 2
Views: 2714

Re: Efficient CSS Tips

Hello, The CSS parsing speed should not be a problem for the slowdown. It is performed only at document load time and is quite cheap compared to other operations done at that stage. In our implementation we do not optimize id and class selectors for they are not very common in XML styling, as you me...
by alex_jitianu
Fri Feb 28, 2014 11:44 am
Forum: Common Problems
Topic: content completion not working everywhere Oxygen 15.2
Replies: 5
Views: 3275

Re: content completion not working everywhere Oxygen 15.2

Hello, Our content completion system is based on the information derived from the schema attached to the document. Since it works in the Text page, there is no reason for it not working in Author page. The framework-level configuration can disable the content completion either by using the Content C...
by alex_jitianu
Wed Feb 26, 2014 3:55 pm
Forum: SDK-API, Frameworks - Document Types
Topic: inInlineContext not working as expected
Replies: 4
Views: 2775

Re: inInlineContext not working as expected

Hello,

I will try to describe more clearly the method's behavior in the documentation. To answer your questions, we don't support flex or inline-block and table-cell is treated just like a block.

Best regards,
Alex
by alex_jitianu
Wed Feb 26, 2014 11:25 am
Forum: SDK-API, Frameworks - Document Types
Topic: Using custom ID generation in document template
Replies: 2
Views: 2629

Re: Using custom ID generation in document template

Hello, We currently do not support custom editor variables, so you cannot plug your own ID generation mechanism using only the editor variables support. We added an internal issue to add support for this kind of custom editor variables, and we will notify you once it will be implemented. But maybe y...
by alex_jitianu
Wed Feb 26, 2014 10:18 am
Forum: SDK-API, Frameworks - Document Types
Topic: inInlineContext not working as expected
Replies: 4
Views: 2775

Re: inInlineContext not working as expected

Hello, The AuthorDocumentControllerImpl.inInlineContext(int) method works by looking at the CSS styles of the elements around the caret position. In our tests the method would return false when the caret is positioned between the para elements. It would help if you could post the CSS fragments relat...
by alex_jitianu
Wed Feb 26, 2014 9:49 am
Forum: Other Issues
Topic: Disable All Contextual Menu Items created by Oxygen
Replies: 4
Views: 2013

Re: Disable All Contextual Menu Items created by Oxygen

Hello,

The SchemaManagerFilter API will only filter the Oxygen's schema based suggestions. It will not affect any author actions you've added in the content completion from the Document Type configuration dialog.

Best regards,
Alex
by alex_jitianu
Tue Feb 25, 2014 10:30 am
Forum: Other Issues
Topic: Disable All Contextual Menu Items created by Oxygen
Replies: 4
Views: 2013

Re: Disable All Contextual Menu Items created by Oxygen

Hello, You can remove all the content completion items provided by Oxygen and replace them with yours by using our JAVA API. The class that you need to implement is SchemaManagerFilter and an example can be found here [1]. You can configure it in your Document Type Association using the Extensions t...
by alex_jitianu
Mon Feb 24, 2014 5:53 pm
Forum: SDK-API, Frameworks - Document Types
Topic: XSLTOperation replacing the root element not working
Replies: 2
Views: 2636

Re: XSLTOperation replacing the root element not working

Hi Patrik, Right now the only way to fix this behavior is to create your own custom XSLTOperation. You should start from the source code of the default operation and replace the code you indicated with something like this: // Put the result of the XSLT transformation back into the document. if (ACTI...
by alex_jitianu
Tue Feb 11, 2014 3:07 pm
Forum: Other Issues
Topic: HTML Schema Documentation crashes IE
Replies: 6
Views: 2907

Re: HTML Schema Documentation crashes IE

Hello, You can edit the resulting HTML file, remove either parts or the entire Javascript from it (there should be one script element at the beginning of the document) and try to load it afterwards. Once you identify the culprit you can edit {INSTALLATION_DIRECTORY}/frameworks/schema_documentation/x...