Search found 113 matches

by dsewell
Thu Sep 26, 2019 10:09 pm
Forum: Feature Request
Topic: Refactoring: comment out elements
Replies: 4
Views: 1770

Re: Refactoring: comment out elements

And I just came here to suggest this feature as well.
by dsewell
Thu May 16, 2019 4:22 pm
Forum: Common Problems
Topic: Can't stop a runaway XPath expression
Replies: 3
Views: 381

Re: Can't stop a runaway XPath expression

Right, in my case the application was unresponsive by the time I hit the stop button. I guess the lesson is to be more careful in constructing XPath/XQuery expressions with large files/projects.
by dsewell
Wed May 15, 2019 5:32 pm
Forum: Common Problems
Topic: Can't stop a runaway XPath expression
Replies: 3
Views: 381

Re: Can't stop a runaway XPath expression

(After about 10 minutes, the operation finally stopped with an out-of-memory error and I was able to save the file and proceed.)
by dsewell
Wed May 15, 2019 5:29 pm
Forum: Common Problems
Topic: Can't stop a runaway XPath expression
Replies: 3
Views: 381

Can't stop a runaway XPath expression

Just now, by mistake I entered an XPath expression like this to search in a large XML document: //distinct-values(//myElement) when I meant to put distinct-values(//myElement) Because of the mistake, oXygen is recursing through everything in the document tree and using 100% CPU while doing it. The p...
by dsewell
Mon May 06, 2019 9:30 pm
Forum: Feature Request
Topic: Refactoring: comment out elements
Replies: 4
Views: 1770

Re: Refactoring: comment out elements

I would also be interested in having this feature added to XML Refactoring. It is an operation that I perform fairly often. In the meantime thanks for the XQuery Update alternative!
by dsewell
Wed Jul 18, 2018 4:48 pm
Forum: XSLT and FOP
Topic: Is there a way to enable XPath content completion in text templates in XSLT 3.0?
Replies: 6
Views: 2565

Re: Is there a way to enable XPath content completion in text templates in XSLT 3.0?

I just discovered that this content completion is working when I was testing the use of @expand-text="true" for the first time, using oXygen 20.1. Thanks to the oXygen team for being so thorough in adding UI features that keep up with the changes in XPath/XSLT specifications!
by dsewell
Tue Jun 05, 2018 4:38 pm
Forum: Feature Request
Topic: "Replace" vs. "Replace and Find"
Replies: 2
Views: 1167

Re: "Replace" vs. "Replace and Find"

Thanks very much!
by dsewell
Mon Jun 04, 2018 9:42 pm
Forum: Feature Request
Topic: "Replace" vs. "Replace and Find"
Replies: 2
Views: 1167

"Replace" vs. "Replace and Find"

I suggested this a couple of years ago and was told the functionality would be added to a future release of oXygen, but I haven't seen it yet, so here is the request again. Currently, in the Find/Replace window, clicking the Replace button makes the change and then immediately moves the cursor to th...
by dsewell
Wed Aug 02, 2017 5:42 pm
Forum: Common Problems
Topic: How to use XQuery 3.1 with oXygen 18 and Saxon EE 9.7?
Replies: 9
Views: 3563

Re: How to use XQuery 3.1 with oXygen 18 and Saxon EE 9.7?

Excellent, I was just about to start learning some of the new features of XQuery 3.1 when I saw that the new release supported it. It may be that the syntax coloring will need to be modified to support new 3.1 features. For example, the array syntax in the third argument to concat() here, which shou...
by dsewell
Fri Jan 27, 2017 11:28 pm
Forum: Feature Request
Topic: Possible to add paste-from-clipboard to Code Template variables?
Replies: 2
Views: 1493

Possible to add paste-from-clipboard to Code Template variables?

Would it be possible to extend the code template utility so that one can have the current system clipboard contents pasted into a specific point? For an example, I have a template that allows me to select text so I can add a target URL: <a href="${caret}">${selection}</ref> That puts my cursor at th...
by dsewell
Fri Oct 28, 2016 4:56 pm
Forum: Common Problems
Topic: Runtime Errors from parse-xml not catched
Replies: 5
Views: 1886

Re: Runtime Errors from parse-xml not catched

Excellent, thanks for the update and the fix.
by dsewell
Fri Aug 28, 2015 10:30 pm
Forum: Common Problems
Topic: Runtime Errors from parse-xml not catched
Replies: 5
Views: 1886

Re: Runtime Errors from parse-xml not catched

There is a similar problem with XQuery and fn:parse-xml(): xquery version "3.0"; declare namespace output = "http://www.w3.org/2010/xslt-xquery-serialization"; declare option output:omit-xml-declaration "true"; try { let $xml-string := '<para>Paragraph</p>' return parse-xml($xml-string) } catch * { ...
by dsewell
Tue Dec 28, 2010 9:21 pm
Forum: Common Problems
Topic: Buggy Find/Replace in Files with long lines and XPath
Replies: 2
Views: 1317

Buggy Find/Replace in Files with long lines and XPath

I have just discovered that some XPath searches on project files are returning incomplete results, and I have identified the cause (or "a cause" at least) as long lines in the source XML. Description: I want to search through all files in a project for a regular expression \d\s+\d (match digits sepa...
by dsewell
Tue Apr 06, 2010 4:25 pm
Forum: XSLT and FOP
Topic: Passing XSLT stylesheet parameter to transform scenario?
Replies: 4
Views: 2405

Re: Passing XSLT stylesheet parameter to transform scenario?

Yes, please create a feature request for a new editor variable that can use the active stylesheet parameters.
by dsewell
Tue Apr 06, 2010 12:13 am
Forum: XSLT and FOP
Topic: Passing XSLT stylesheet parameter to transform scenario?
Replies: 4
Views: 2405

Passing XSLT stylesheet parameter to transform scenario?

When I am creating an XSLT transformation scenario, I would like to be able to use one of the stylesheet parameters (defined in the XSLT tab) in constructing the name of the output file. So for example if I set parameter ID=X123, I would like to define "Save As" using something like Myfile-${param(I...
by dsewell
Wed Nov 11, 2009 8:06 pm
Forum: XSLT and FOP
Topic: context for fo:external-graphic URL?
Replies: 3
Views: 2341

Re: context for fo:external-graphic URL?

thanks for the response--unfortunately I'm travelling for a few days. If I can't resolve the issue locally I'll post something next week.
by dsewell
Fri Nov 06, 2009 9:11 pm
Forum: XSLT and FOP
Topic: context for fo:external-graphic URL?
Replies: 3
Views: 2341

Re: context for fo:external-graphic URL?

and I should have mentioned,

Code: Select all

graphic/@url
resolves to the base filename of the included graphic (with no path information).
by dsewell
Fri Nov 06, 2009 9:08 pm
Forum: XSLT and FOP
Topic: context for fo:external-graphic URL?
Replies: 3
Views: 2341

context for fo:external-graphic URL?

I'm encountering an odd problem. I have an XSLT file that is producing XSL-FO output for transformation to PDF. In my transformation scenario, both XML input file and the XSLT file are in the same directory. I have an FO statement <fo:external-graphic src="url('{graphic/@url}')"/> When I ran this on...
by dsewell
Wed Oct 29, 2008 3:26 pm
Forum: Feature Request
Topic: Transformation output to URL
Replies: 2
Views: 2019

Re: Transformation output to URL

Thank you! :)
by dsewell
Tue Oct 28, 2008 9:46 pm
Forum: Feature Request
Topic: Transformation output to URL
Replies: 2
Views: 2019

Transformation output to URL

Am I correct that it is not possible (even in oXygen 10) to define a custom transformation scenario that sends an output file to a URL?

If so, I would request this as a feature, for example to be able to define a WebDAV or sftp URL for the output file.
by dsewell
Mon Mar 03, 2008 5:10 pm
Forum: Common Problems
Topic: Regex replacement crash
Replies: 3
Views: 2118

Re: Regex replacement crash

The problem with the expression 'x*$' is that it can also match empty strings located at the end of line because of the x*(0-n occurrences of x). When using 'Replace all' there will always be a match of length 0 at the end of any line so the replace will get stuck in an infinite loop. If x+(1-n occ...
by dsewell
Sat Mar 01, 2008 1:33 am
Forum: Common Problems
Topic: Regex replacement crash
Replies: 3
Views: 2118

Regex replacement crash

oXygen 9.1, standalone under Mac OS X

If I try the following regular expression find-and-replace:

Text to find: x*$
Replace with: [empty]

oXygen hangs and has to be killed externally. 'x' above can be any character.
by dsewell
Fri Feb 29, 2008 12:05 am
Forum: Common Problems
Topic: BUG: apostrophe in CSS comment breaks outline
Replies: 3
Views: 2059

Re: BUG: apostrophe in CSS comment breaks outline

After some more experimenting: this is true of both apostrophe (') and quotation mark ("). If they are paired inside the comment, no problem. But a single ' or " breaks the outline.
by dsewell
Thu Feb 28, 2008 11:27 pm
Forum: Common Problems
Topic: BUG: apostrophe in CSS comment breaks outline
Replies: 3
Views: 2059

BUG: apostrophe in CSS comment breaks outline

oXygen 9.1, build 2007122116, standalone under OS X Problem: when a CSS comment contains an apostrophe, it breaks the outline view of the CSS file. Example: body { /* it's a comment */ color: blue; margin-left: 1in; } p { text-indent: 1em; } Only the "body" element is visible in the outline. When th...
by dsewell
Tue Jan 08, 2008 9:24 pm
Forum: Common Problems
Topic: Spacing bug in Author mode, oXygen 9.1
Replies: 5
Views: 2793

I tried on my Mac 10.5.1 and on a 10.4.11 and I could not reproduce it. I think there is a problem with some fonts on that computer. I've seen cases in which some fonts report larger metrics than real, and the layout gets a bit out of the sync. You could try opening the file frameworks/tei/xml/tei/...
by dsewell
Tue Jan 08, 2008 5:45 am
Forum: Common Problems
Topic: Spacing bug in Author mode, oXygen 9.1
Replies: 5
Views: 2793

No bug running under Leopard

I just tried this on another machine running OS X 10.5.1, and I do not see the buggy behavior.
by dsewell
Mon Jan 07, 2008 8:23 pm
Forum: Common Problems
Topic: Spacing bug in Author mode, oXygen 9.1
Replies: 5
Views: 2793

More info

I'm running OS X 10.4.11, with Java version 1.5.0_13
by dsewell
Mon Jan 07, 2008 8:20 pm
Forum: Common Problems
Topic: Spacing bug in Author mode, oXygen 9.1
Replies: 5
Views: 2793

Spacing bug in Author mode, oXygen 9.1

I'm running standalone oXygen 9.1 (build 2007122116) under OS X. I'm finding a bug in space rendering in Author view with a simple TEI document where there is a <hi> tag following UTF-8 quotation marks. I haven't spent time playing around to see whether other non-ASCII characters cause the same beha...