Search found 280 matches

by Patrik
Wed Jun 16, 2021 12:47 pm
Forum: DITA (Editing and Publishing DITA Content)
Topic: Error with oXygen 23.1 and DITA-OT 2.4
Replies: 4
Views: 1243

Re: Error with oXygen 23.1 and DITA-OT 2.4

Hi, @Alex: Thanks for confirming that I can ignore that error! :) @Radu: We have to stick to oXygen 18.1 for now anyway. And later the framework might be moved to the latest DITA-OT as well - or will be abandoned completely (I'm leaving the company and, thus, this topic...). So this is no more an is...
by Patrik
Thu Jun 10, 2021 2:26 pm
Forum: DITA (Editing and Publishing DITA Content)
Topic: Error with oXygen 23.1 and DITA-OT 2.4
Replies: 4
Views: 1243

Re: Error with oXygen 23.1 and DITA-OT 2.4

I just realized that with oXygen 18.1 I got the same errors - simply never saw them in the long log... :shock: Sorry for the confusion! However, I have a real problem with my svg graphics: The dy-attribute of the text-elements has no effect for the PDF output when created with DITA-OT 2.4 out of oXy...
by Patrik
Thu Jun 10, 2021 8:55 am
Forum: DITA (Editing and Publishing DITA Content)
Topic: Error with oXygen 23.1 and DITA-OT 2.4
Replies: 4
Views: 1243

Error with oXygen 23.1 and DITA-OT 2.4

Hi, I moved from oXygen 18.1 ro 23.1 but still need to use an old version of DITA-OT (2.4). When running a dita transformation with "addOxygenJars" enabled I get several errors which I assume are the result of incompatible libraries: gen-list: [gen-list] Using Xerces grammar pool for DTD a...
by Patrik
Thu Jun 10, 2021 7:55 am
Forum: DITA (Editing and Publishing DITA Content)
Topic: Process DITA map recursively with XSLT
Replies: 6
Views: 1580

Re: Process DITA map recursively with XSLT

Hi Radu,

i just completed the conversion. Using the XSLT-refactoring worked really well - even when having to split a file into multiple others.
Thanks again for pointing me to it! :)

Regards,
Patrik
by Patrik
Thu May 27, 2021 2:05 pm
Forum: DITA (Editing and Publishing DITA Content)
Topic: Process DITA map recursively with XSLT
Replies: 6
Views: 1580

Re: Process DITA map recursively with XSLT

Hi Radu,

thanks. I will take a look into it.

Regards,
Patrik
by Patrik
Thu May 27, 2021 1:26 pm
Forum: DITA (Editing and Publishing DITA Content)
Topic: Process DITA map recursively with XSLT
Replies: 6
Views: 1580

Re: Process DITA map recursively with XSLT

Hi Radu, I'm about to change the schema files for my highly specialized DITA content and the DITA files need to be modified accordingly. So the transformation is from DITA to DITA and I'd like to do it with XSLT transformation with oxygen - since this is what would be most comfortable for me. Using ...
by Patrik
Thu May 27, 2021 1:02 pm
Forum: DITA (Editing and Publishing DITA Content)
Topic: Process DITA map recursively with XSLT
Replies: 6
Views: 1580

Process DITA map recursively with XSLT

Hi, i need to process a whole DITA map including all submaps and topics with XSLT/Saxon with expanded attribute defaults. When loading the first topic I get a validation error (because saxon uses the same schema to validate the topic as it got from the map). I had a discussion with Michael Kay and R...
by Patrik
Mon Apr 26, 2021 10:25 am
Forum: Common Problems
Topic: FilePermission for custom framework
Replies: 5
Views: 2284

Re: FilePermission for custom framework

Thanks for the hint. I just used a subfolder within frameworks and it works so far.
(I didn't use the framework folder itself since I expect it to be deleted when updating the framework.)

Best regards
Patrik
by Patrik
Wed Apr 21, 2021 6:42 pm
Forum: Common Problems
Topic: FilePermission for custom framework
Replies: 5
Views: 2284

Re: FilePermission for custom framework

Hi again, it turned out that using the folder <oxygen.data.dir> does not always work. When applying an XSLT transformation to a file in that folder I get an error with missing priviliges: java.security.AccessControlException: Access denied : C:\Program Files\oXygen XML Web Author 23.1\tomcat\work\Ca...
by Patrik
Mon Apr 19, 2021 10:44 am
Forum: Common Problems
Topic: FilePermission for custom framework
Replies: 5
Views: 2284

Re: FilePermission for custom framework

Hi Michael,

thanks a lot. Changing the folder as you suggested works without any modifications to the policies - perfect! :)

Regards,
Patrik
by Patrik
Thu Apr 15, 2021 1:15 pm
Forum: Common Problems
Topic: FilePermission for custom framework
Replies: 5
Views: 2284

FilePermission for custom framework

Hi, I have a custom framework that needs to read and write files "somewhere" on the server. My (kind of random) choice was a custom subfolder within tomcat\webapps that will be created automatically if it is missing. I expected this to be no problem with the permissions due to the existing...
by Patrik
Thu Apr 15, 2021 10:04 am
Forum: Common Problems
Topic: Replacement for jackson-mapper-asl.jar?
Replies: 2
Views: 4842

Re: Replacement for jackson-mapper-asl.jar?

Hi Gabriel,

thanks, this solved it for me! :)

Best regards,
Patrik
by Patrik
Wed Apr 14, 2021 5:45 pm
Forum: Common Problems
Topic: Replacement for jackson-mapper-asl.jar?
Replies: 2
Views: 4842

Replacement for jackson-mapper-asl.jar?

Hi, we just upgraded form WebAuthor 22.1 to 23.1 and my custom plugin is no more working since I used objects from the library jackson-mapper-asl.jar for Json-String-conversion (e.g. org.codehaus.jackson.JsonNode and org.codehaus.jackson.map.ObjectMapper). I'd like to avoid adding additional librari...
by Patrik
Fri Feb 05, 2021 10:17 am
Forum: Common Problems
Topic: Dialog initially without scrollbar
Replies: 5
Views: 2035

Re: Dialog initially without scrollbar

Hi Michael,

thanks, but the content might also be only a single line - which looks very strange on a full-screen-dialog... ;)

But I implemented a simple algorithm to guess if the content is large, and set the preferred hight to null or 10000 depending on that. This works fine!

Regards,
Patrik
by Patrik
Thu Feb 04, 2021 8:35 pm
Forum: Common Problems
Topic: Dialog initially without scrollbar
Replies: 5
Views: 2035

Re: Dialog initially without scrollbar

Hi Michael,

thanks for the workaround - although it is not realy working for me since the content is generated dynamically and I can hardly guess any reasonable preferred size. But makingit resizable to the user can "activate" the scrollbar manually will work for now.

Regards,
Patrik
by Patrik
Wed Feb 03, 2021 7:18 pm
Forum: Common Problems
Topic: Dialog initially without scrollbar
Replies: 5
Views: 2035

Dialog initially without scrollbar

Hi, I have a dialog that contains a lot of content so it should have a scrollbar. But initially there is no scrollbar. When I resize the dialog (explicitly or by resizing the browser window) the scrollbar appears. Also when I perform the action again (the dialog is a member). Hier is the code of my ...
by Patrik
Wed Jan 13, 2021 6:21 pm
Forum: Common Problems
Topic: RefreshReference without making doc dirty
Replies: 6
Views: 2518

Re: RefreshReference without making doc dirty

Great, that works for me as well! :)

Thanks!
Patrik
by Patrik
Wed Jan 13, 2021 3:35 pm
Forum: Common Problems
Topic: RefreshReference without making doc dirty
Replies: 6
Views: 2518

Re: RefreshReference without making doc dirty

I still have a problem with the refreshreference: I added the call of an AuthorOperation after the git-commit to rfresh the reference. But the setModified(false) doesn't work there - and I get no warning in the log. Here is my minimized code for this issue: @WebappCompatible @WebappRestSafe public c...
by Patrik
Wed Jan 13, 2021 12:32 pm
Forum: Common Problems
Topic: RefreshReference without making doc dirty
Replies: 6
Views: 2518

Re: RefreshReference without making doc dirty

Hi again. I just noticed that the log entry 1212098 WARN [ http-nio-8080-exec-8 ] ro.sync.ecss.webapp.access.j - Calling setModified() is not supported while a "compound edit" is in progress. Note that a "compound edit" is created automatically when invoking an AuthorOperation th...
by Patrik
Tue Jan 12, 2021 6:58 pm
Forum: Common Problems
Topic: RefreshReference without making doc dirty
Replies: 6
Views: 2518

Re: RefreshReference without making doc dirty

I already tried that and failed bacause I thought i would nee to implement AuthorOperationWithCustomUndoBehavior instead of AuthorOperationWithResult.
But now I realized I just had to add this interface and it works fine.

Thanks a lot - once again! :)
Patrik
by Patrik
Tue Jan 12, 2021 11:52 am
Forum: Common Problems
Topic: RefreshReference without making doc dirty
Replies: 6
Views: 2518

RefreshReference without making doc dirty

Hi, I'm using an AuthorReferenceResolver to display some status information to the author. And I have an AuthorOperationWithResult that changes this information so I'm calling AuthorDocumentController.refreshNodeReferences(). This works fine, except that this will cause to document to be marked as m...
by Patrik
Fri Jan 08, 2021 2:23 pm
Forum: Common Problems
Topic: Get git-username from custom operation
Replies: 2
Views: 1183

Re: Get git-username from custom operation

Wow, that was easy - almost boring... ;)

Thanks a lot,
Patrik
by Patrik
Thu Jan 07, 2021 7:15 pm
Forum: Common Problems
Topic: Get git-username from custom operation
Replies: 2
Views: 1183

Get git-username from custom operation

Hi,

is there a way to get the current git user name from within my implementation of AuthorOperationWithResult?

Thanks and regards,
Patrik
by Patrik
Wed Dec 16, 2020 2:47 pm
Forum: Common Problems
Topic: Problem with SecurityManager
Replies: 5
Views: 2741

Re: Problem with SecurityManager

Great, thanks for the offer. I created a minimal test framework and sent it to support@oxygenxml.com.

Regards,
Patrik
by Patrik
Tue Dec 15, 2020 2:40 pm
Forum: Common Problems
Topic: Problem with SecurityManager
Replies: 5
Views: 2741

Re: Problem with SecurityManager

Hi again, I don't know why the option wasn't initially present fo rme - but it actually doesn't matter. For testing I activated the security manager so my java options look like this: -Dcatalina.home=C:\Program Files\oXygen XML Web Author\tomcat -Dcatalina.base=C:\Program Files\oXygen XML Web Author...
by Patrik
Mon Dec 14, 2020 1:21 pm
Forum: Common Problems
Topic: Problem with SecurityManager
Replies: 5
Views: 2741

Problem with SecurityManager

Hi, I need to call another webservice from my custom framework which is currently not working. After changing the log level I found this error: 60477 DEBUG [ http-nio-8080-exec-1 ] ro.sync.security.manager.SandboxSecurityManager - Security permission exception: access denied ("java.security.All...
by Patrik
Thu Dec 03, 2020 6:50 pm
Forum: Common Problems
Topic: Custom-Mapping of IDs to names
Replies: 9
Views: 2934

Re: Custom-Mapping of IDs to names

Thanks again. I could make it work now! :)

Regards,
Patrik
by Patrik
Thu Dec 03, 2020 12:04 pm
Forum: Common Problems
Topic: Custom-Mapping of IDs to names
Replies: 9
Views: 2934

Re: Custom-Mapping of IDs to names

Hi again, with my dialog to modify the text content I first need to get the current content and later set it. I know I can do both steps with editor.getActionsManager().invokeOperation(). Is this the best way or are there alternatives? And I know there are existing operations to set the content. But...
by Patrik
Fri Nov 27, 2020 2:29 pm
Forum: Common Problems
Topic: Concept for custom java interaction
Replies: 2
Views: 1247

Re: Concept for custom java interaction

Hi, thanks. I've created my own class AuthorOperationOnPurposeException with setOperationRejectedOnPurpose(true) in the constructor and it behaves as expected. In case anybody else has a similiar problem: I also found a comfortable way to pass my key-value-map to my JS code: Java: import org.codehau...
by Patrik
Thu Nov 26, 2020 4:57 pm
Forum: Common Problems
Topic: Concept for custom java interaction
Replies: 2
Views: 1247

Concept for custom java interaction

Hi, I'm using quite some custom implementations of AuthorOperationWithResult to be called by the ActionsManager form the js code. The documentation of ActionsManager.invokeOperation() claims that on an exception the user will see an error message. Actually this doesn't happen for me. I find the exce...