Search found 227 matches

by sderrick
Thu Dec 20, 2018 7:22 pm
Forum: SDK-API, Frameworks - Document Types
Topic: The demise of Java Web Start
Replies: 2
Views: 359

Re: The demise of Java Web Start

It appears the only viable option is to convert the sdk into a standalone app.

Which shouldn't be too difficult, and I wouldn't mind seeing the pesky browser/jnlp gyrations go away.

I will check that out

thanks,

Scott
by sderrick
Thu Dec 20, 2018 4:46 am
Forum: SDK-API, Frameworks - Document Types
Topic: detect encoding problem on load
Replies: 9
Views: 729

Re: detect encoding problem on load

Radu, I am using editorComponent.getWSEditorAccess().createContentReader() to create a BufferedReader, then looping through a read() call on the BufferedReader to build a document text buffer. However.... I just installed the latest Java release 11.0.1 and to my dismay discovered javaws is no longer...
by sderrick
Thu Dec 20, 2018 4:29 am
Forum: SDK-API, Frameworks - Document Types
Topic: The demise of Java Web Start
Replies: 2
Views: 359

The demise of Java Web Start

I just installed Java 11.0.1 and to my surprise, no webstart! No javaws executable in the bin folder. I knew it was depreciated in 9 but had no idea it was going to be killed in version 11. We use the SDK in a applet that is run via web start! THe applet must be started through a web page and we use...
by sderrick
Tue Dec 18, 2018 10:15 pm
Forum: SDK-API, Frameworks - Document Types
Topic: detect encoding problem on load
Replies: 9
Views: 729

Re: detect encoding problem on load

You are correct, the editor is in Text editing mode. I have not set an option encoding_errors_handling to any value. How would I set it to 0? We are on version 17.1.0.4, which may be relevant. I haven't upgraded because I normally don;t fix what aint broke. How much work would you anticipate if I up...
by sderrick
Sun Dec 16, 2018 3:12 am
Forum: SDK-API, Frameworks - Document Types
Topic: detect encoding problem on load
Replies: 9
Views: 729

Re: detect encoding problem on load

I replaced createContentReader() with createContentInputStream() If I paste in a non ascii char into the editor and then save it, it looks like the bad char is getting replaced by 3 ���. Which are U+FFFD's This is the behavior the desktop editor does if REPLACE is selected for Encoding error handlin...
by sderrick
Fri Dec 14, 2018 8:59 pm
Forum: SDK-API, Frameworks - Document Types
Topic: detect encoding problem on load
Replies: 9
Views: 729

Re: detect encoding problem on load

Radu, I am using editorComponent.getWSEditorAccess().createContentReader() to create a BufferedReader, as you suspected. Then looping through a read() call on the Reader to build a document text buffer. Are you saying if I used a createContentInputStream() to get an InputStream, the call would throw...
by sderrick
Fri Dec 14, 2018 7:31 pm
Forum: SDK-API, Frameworks - Document Types
Topic: detect encoding problem on load
Replies: 9
Views: 729

Re: detect encoding problem on load

Radu, Once again you guys save my bacon. After I started this thread I had the thought that I was probably skipping or doing an end run around the behavior that would catch this for me and you have verified that. I will follow you advice and let you know how it works. thanks again for for great tech...
by sderrick
Thu Dec 13, 2018 10:03 pm
Forum: SDK-API, Frameworks - Document Types
Topic: detect encoding problem on load
Replies: 9
Views: 729

detect encoding problem on load

We are using the SDK to provide our editors a way to edit TEI files. Our files are encoded us-ascii. I just had one of them paste some text in from Word. The text had a few non us-ascii chars, like the curly quote. If I paste in this text in my desktop oxygen editor and then attempt to save it I get...
by sderrick
Fri Aug 03, 2018 3:00 am
Forum: Common Problems
Topic: Find/Replace uppercase found words
Replies: 1
Views: 526

Find/Replace uppercase found words

I have a regex expression which finds the words I I need to uppercase.

\b([0-9]+[a-z]+\.[0-9]+\.[0-9]+)\b

Is there a way to upper case the regex groups in the "replace with" input box?

thanks,

Scott
by sderrick
Thu Jul 26, 2018 8:46 pm
Forum: SDK-API, Frameworks - Document Types
Topic: SDK personal license
Replies: 6
Views: 1202

Re: SDK personal license

Radu,

I need to have a user clear their author cache on a mac. I thought it would be in the same place as a linux machine, a hidden folder in their home folder, but it is not?

I also looked in the Library/Caches folder and it was not in there?

Where is it?

thanks,

Scott
by sderrick
Wed Jul 18, 2018 8:16 pm
Forum: SDK-API, Frameworks - Document Types
Topic: SDK personal license
Replies: 6
Views: 1202

Re: SDK personal license

I tried using the users license and it worked fine for me. Editor opened no problem and did not consume a floating license. But yesterday she was on and it did use a floating license. I used the same jnlp file to open the editor as she had yesterday. I also realized her maintenance pack had run out ...
by sderrick
Wed Jul 18, 2018 6:21 pm
Forum: SDK-API, Frameworks - Document Types
Topic: SDK personal license
Replies: 6
Views: 1202

Re: SDK personal license

To be clear we are using the SDK author editor. When I init the factory I check if the user is requesting to use a floating license or their personal license and pass in the appropriate parameters on that choice. Here's the code, license servlet stuff blanked out. [code] if (license.equals("flo...
by sderrick
Wed Jul 18, 2018 6:05 pm
Forum: Common Problems
Topic: Java error loading SDK
Replies: 3
Views: 674

Re: Java error loading SDK

OK, we'll stay with 1.8 until you give the all clear.
by sderrick
Wed Jul 18, 2018 7:21 am
Forum: Common Problems
Topic: Java error loading SDK
Replies: 3
Views: 674

Re: Java error loading SDK

I backed my jdk out to java 1.8 and the problem stopped.

Scott
by sderrick
Wed Jul 18, 2018 7:20 am
Forum: SDK-API, Frameworks - Document Types
Topic: SDK personal license
Replies: 6
Views: 1202

SDK personal license

We are using the SDK Editor with a floating license sever. Working like a champ. Some of the users have a personal or work purchased license for their desktop oxygen editor and I allow them to set their preference to use their license key thus freeing one of the floating licenses for the workers tha...
by sderrick
Wed Jul 18, 2018 12:55 am
Forum: Common Problems
Topic: Java error loading SDK
Replies: 3
Views: 674

Java error loading SDK

Just tried to use our SDK editor and had this come up in the console??? java.lang.NoClassDefFoundError: com/sun/java/swing/plaf/windows/WindowsLookAndFeel at ro.sync.util.h.f(Unknown Source) at ro.sync.ui.application.cc.zw(Unknown Source) at ro.sync.ui.application.cc.<init>(Unknown Source) at ro.syn...
by sderrick
Wed Jun 13, 2018 6:18 pm
Forum: Common Problems
Topic: Variables not available in debugger
Replies: 1
Views: 579

Variables not available in debugger

The problem is pretty simple. Simple variables or parameters are available until you step over a more complex line of code, they then become unavailable in the context or watch panes. Depending on the code they sometimes reappear sometimes not. Makes the debugger virtually useless sometimes. Having ...
by sderrick
Mon Jul 24, 2017 8:22 pm
Forum: SDK-API, Frameworks - Document Types
Topic: Latest Java 8.141 update breaks my web app
Replies: 4
Views: 1535

Re: Latest Java 8.141 update breaks my web app

Is this the only jar that needs the name fixed?
by sderrick
Mon Jul 24, 2017 5:45 am
Forum: SDK-API, Frameworks - Document Types
Topic: Latest Java 8.141 update breaks my web app
Replies: 4
Views: 1535

Re: Latest Java 8.141 update breaks my web app

just found this. since this is your jar not sure what to do? Known Issues deploy/webstart JAR file validation changes After upgrading to the JDK July CPU release (8u141/7u151/6u161), when executing Java Webstart applications, customers may encounter an exception like “java.lang.SecurityException: di...
by sderrick
Mon Jul 24, 2017 5:28 am
Forum: SDK-API, Frameworks - Document Types
Topic: Latest Java 8.141 update breaks my web app
Replies: 4
Views: 1535

Latest Java 8.141 update breaks my web app

I had a user upgrade her system to 8.141. Now when loading our editor(SDK) she gets the following error. com.sun.deploy.net.JARSigningException: Could not verify signing in resource: https://www.mbepapers.org/editor1/lib/oxygen-resolver-17.1.0.4.jar at com.sun.deploy.security.JarVerifier.authenticat...
by sderrick
Tue Apr 11, 2017 4:58 pm
Forum: Common Problems
Topic: Generate closed tag
Replies: 2
Views: 756

Re: Generate closed tag

Radu,

thanks for the quick reply.

I figured out how to do it.

If your input is <foo></foo>, the output is <foo/>
If your input is <foo/>, the output is <foo></foo>

counter intuitive but I've found Saxon is like that in many ways.

thanks again,

Scott
by sderrick
Mon Apr 10, 2017 6:10 pm
Forum: Common Problems
Topic: Generate closed tag
Replies: 2
Views: 756

Generate closed tag

When transforming into xml can I generated a closed tag?

In my xsl file I have

<origPlace/>


in the resulting document

<origPlace/></origin>


anyway to have the tag generated with as it is in the xsl file?

thanks,

Scott
by sderrick
Tue Mar 21, 2017 8:21 pm
Forum: Common Problems
Topic: Error transforming ODD spec to rnc or rng
Replies: 7
Views: 1687

Re: Error transforming ODD spec to rnc or rng

I updated the tei framework as described here http://blogs.it.ox.ac.uk/jamesc/2014/04 ... in-oxygen/ and all is well!!!
by sderrick
Fri Mar 17, 2017 7:59 pm
Forum: Common Problems
Topic: Error transforming ODD spec to rnc or rng
Replies: 7
Views: 1687

Re: Error transforming ODD spec to rnc or rng

I forgot to include I'm using build <oXygen/> XML Editor 18.1, build 2017020917, which I think is the latest release. The error is System ID: /home/scott/Oxygen XML Editor 18-1a/frameworks/tei/xml/tei/stylesheet/odds/teiodds.xsl Scenario: TEI ODD XHTML XML file: /home/scott/workspace/mbel-work/schem...
by sderrick
Fri Mar 17, 2017 6:29 pm
Forum: Common Problems
Topic: Error transforming ODD spec to rnc or rng
Replies: 7
Views: 1687

Re: Error transforming ODD spec to rnc or rng

This issue is still happening. Had to make a change to our schema. Modified the ODD file, compiled with 18.1 and there is an error in the .rnc file. Compiled with version 17, no problem.

Scott
by sderrick
Fri Jan 20, 2017 6:55 pm
Forum: Common Problems
Topic: Error transforming ODD spec to rnc or rng
Replies: 7
Views: 1687

Re: Error transforming ODD spec to rnc or rng

Alex, thanks for posting that I'm not alone. misery loves company! I am using a customized tei schema, downloaded from the TEI website and our customization's added to the odd file. I was making a small change when I noticed the error. I will post the error to the list you mentioned. thanks, scott
by sderrick
Wed Jan 18, 2017 9:08 pm
Forum: Common Problems
Topic: Error transforming ODD spec to rnc or rng
Replies: 7
Views: 1687

Re: Error transforming ODD spec to rnc or rng

I fired up an older version of the editor, 17.0 and it transforms the ODD file fine.

Not a perfect solution but it keeps me going.

Scott
by sderrick
Wed Jan 18, 2017 8:58 pm
Forum: Common Problems
Topic: Error transforming ODD spec to rnc or rng
Replies: 7
Views: 1687

Error transforming ODD spec to rnc or rng

I have a ODD specification for our schema and have been using Oxygen's built in schema transformation scenerios TEI ODD to RelaxNG XML and to RelaxNG Compact to generate our schema files. I tried to run the scenario on our ODD file and I am getting an error and there are errors in the generated sche...
by sderrick
Mon May 09, 2016 4:14 pm
Forum: SDK-API, Frameworks - Document Types
Topic: Error loading hunspell library on windows
Replies: 26
Views: 5018

Re: Error loading hunspell library on windows

Sorry Dan, it will not ever be executed. have a programmer look at at it. The variable libName will never end with .dylib the variable sysLibName on the mac does end with dylib on the mac if you enable the java console. The library is loaded successfully on the mac with the above code commented out ...
by sderrick
Fri May 06, 2016 4:00 pm
Forum: SDK-API, Frameworks - Document Types
Topic: Error loading hunspell library on windows
Replies: 26
Views: 5018

Re: Error loading hunspell library on windows

this code will never get executed? not sure why it is there? if (libName.endsWith(".dylib")) { // In order to be able to load libraries that are on the system, // the lib name must end in .dylib. libName = libName.substring(0, libName.lastIndexOf(".dylib")) + ".jnilib";...

Go to advanced search