Search found 36 matches

by whyme
Sat Sep 16, 2017 4:50 am
Forum: Feature Request
Topic: Select attribute content
Replies: 1
Views: 157

Select attribute content

Low-level request: it would be nice if hitting ctrl+shift+alt+C for select content worked not just when the cursor is in a text node, but also when it is within an attribute value, to select everything between the quotation marks. Not sure if that's feasible, but it would be a nice convenience.
by whyme
Wed Aug 23, 2017 3:39 am
Forum: Feature Request
Topic: Schematron validation restricted to cursor context
Replies: 1
Views: 305

Schematron validation restricted to cursor context

Oftentimes I find myself editing files that are either very large or involve some complicated Schematron rules. Sometimes these rules give tips or aids in editing, and I have to wait a long time to get contextual help via SQF or Schematron-based messages, because the engine is checking the entire fi...
by whyme
Mon Jul 31, 2017 11:24 pm
Forum: Feature Request
Topic: xspec @select color coding
Replies: 3
Views: 311

Re: xspec @select color coding

Here's a sample. You'll see that color coding would be nice not just for a string, but for variables. <x:scenario label="Scenario for testing function matches"> <x:call function="tan:matches"> <x:param name="input" select="$regex-greek"/> <x:param name="p...
by whyme
Thu Jul 13, 2017 5:05 pm
Forum: Feature Request
Topic: xspec @select color coding
Replies: 3
Views: 311

xspec @select color coding

A nice feature would be to have color coding for xspec @select. It took me the longest time to diagnose an error, only because I thought (due partly to the color) that

Code: Select all

"sample string"
was the correct syntax for a string, when it should have been

Code: Select all

"'sample string'"
.
by whyme
Wed Apr 12, 2017 7:29 pm
Forum: Common Problems
Topic: Stack overflow error new to oXygen 19
Replies: 3
Views: 503

Re: Stack overflow error new to oXygen 19

Update: after further futzing about I discovered that the following code generates the same stack overflow error. If you remove the 'xml:' or replace it with another namespace prefix, or if you move the variable declaration into its next sibling the error disappears. A Saxon glitch? <xsl:template ma...
by whyme
Wed Apr 12, 2017 6:51 pm
Forum: Common Problems
Topic: Stack overflow error new to oXygen 19
Replies: 3
Views: 503

Stack overflow error new to oXygen 19

In oXygen 19 I'm getting java.lang.StackOverflowError for files that are validated fine in oXygen 18, probably because of the Saxon engine upgrade. After some troubleshooting I determined that the problem was due to instances of <xsl:attribute name="xml:id"/> . I'm just registering the obs...
by whyme
Tue Oct 11, 2016 7:28 pm
Forum: Feature Request
Topic: Author mode, support for CSS Fonts Module level 3
Replies: 1
Views: 494

Author mode, support for CSS Fonts Module level 3

A helpful addition to the Author mode would be support for CSS Fonts Module level 3 . The request is prompted because I am working with a font that has contextual alternates and CSS such as this, which picks the 27th variant of a particular glyph; it works fine in most major browsers: *.ar-cv-n27 { ...
by whyme
Mon Sep 05, 2016 6:15 am
Forum: Feature Request
Topic: sch:param/@value color coding
Replies: 0
Views: 1113

sch:param/@value color coding

I notice that color coding is missing from the contents of @value of <sch:param>. Could this be introduced?
by whyme
Sun Mar 20, 2016 5:35 am
Forum: Common Problems
Topic: Archive browser and combining marks
Replies: 1
Views: 424

Archive browser and combining marks

I have a set of four Word documents. Three of the four open up just fine through the Archive Browser but the fourth grinds oXygen to a halt. It's faster for me to end the task, restart oXygen, and start from scratch. After several hours I was able to determine that U+0308 COMBINING DIARESIS was caus...
by whyme
Fri Mar 11, 2016 8:12 pm
Forum: Feature Request
Topic: Support for ISO Schematron subject attribute
Replies: 3
Views: 2183

Re: Support for ISO Schematron subject attribute

Although @subject in a Schematron <assert> or <report> is now supported in oXygen, I'm finding that variables in the XPath expression are not resolved, e.g., <report test="exists($ids-in-error)" subject="*[@xml:id = $ids-in-error]">This element is in error.</report> The first $id...
by whyme
Tue Feb 23, 2016 5:55 am
Forum: Common Problems
Topic: XSLTOperation and indenting
Replies: 1
Views: 370

XSLTOperation and indenting

I have an XML file without mixed content upon which I've applied a stylesheet through the author mode, using Preferences > Document Type Association > Author > Actions > ro.sync.ecss.extensions.commons.operations.XSLTOperation. When I apply the stylesheet, it introduces a space text node between occ...
by whyme
Tue Feb 23, 2016 5:40 am
Forum: SDK-API, Frameworks - Document Types
Topic: Problem with custom action in Author Mode
Replies: 5
Views: 1081

Re: Problem with custom action in Author Mode

I'm running into the same problem as Martin, but have decided to use this hack/workaround in lieu of a script, until the problem can be addressed: <?xml version="1.0" encoding="UTF-8"?> <xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform" version="3.0&q...
by whyme
Thu Jan 28, 2016 7:00 pm
Forum: Common Problems
Topic: Ver 17.0 changes in https negotiation
Replies: 5
Views: 856

Re: Ver 17.0 changes in https negotiation

Thanks, Adrian. Those pointers are very helpful. I anticipate the schemas may be used by people outside the context of a framework. So here's one more workaround for those who might stumble on this thread. Use the fn:doc-available() function in the Schematron file to generate a warning and prevent a...
by whyme
Thu Jan 28, 2016 3:11 pm
Forum: Common Problems
Topic: Ver 17.0 changes in https negotiation
Replies: 5
Views: 856

Re: Ver 17.0 changes in https negotiation

OK, I've isolated the problem to schematron. An XML file whose prolog invokes a simple schematron file with the following... <sch:pattern> <sch:rule context="/*"> <sch:assert test="doc-available('https://raw.githubusercontent.com/oxygenxml/userguide/master/DITA/UserManual.ditamap')&qu...
by whyme
Tue Jan 26, 2016 10:47 pm
Forum: Common Problems
Topic: Ver 17.0 changes in https negotiation
Replies: 5
Views: 856

Ver 17.0 changes in https negotiation

I have a set of files that are validated by means of calls to raw XML files on a github server, in the form, e.g., of document($filename) and document-available($filename) where $filename = 'https://raw.githubusercontent.com/[USERNAME]/[REPO]/[BRANCH]/[FILE].xml' In oXygen 16.1 I had no problems in ...
by whyme
Thu Jan 14, 2016 11:23 pm
Forum: Feature Request
Topic: Refactoring: comment out elements
Replies: 1
Views: 663

Refactoring: comment out elements

There have been times when I've wanted to temporarily disable a whole class of elements. It would be nice, in the Refactoring options, to allow users to choose via XPath one or more elements to comment out.
by whyme
Thu Jan 14, 2016 11:21 pm
Forum: Feature Request
Topic: Fractions of seconds in Information pane
Replies: 1
Views: 432

Fractions of seconds in Information pane

Hi, it would be nice to be able to allow users to indicate in the Preferences whether the timestamp in the information pane should allow whole (default), tenths, or hundredths of seconds.
by whyme
Fri Jan 08, 2016 6:53 am
Forum: Common Problems
Topic: Multiple sqf:call-fix siblings
Replies: 2
Views: 445

Re: Multiple sqf:call-fix siblings

OK, I chimed in. Let's see what happens.
by whyme
Thu Jan 07, 2016 8:03 am
Forum: Common Problems
Topic: Multiple sqf:call-fix siblings
Replies: 2
Views: 445

Multiple sqf:call-fix siblings

Hi, according to the thread here... https://github.com/schematron-quickfix/sqf/issues/2 ...it seems that one should be able to do multiple sibling <sqf:call-fix>es (as children of <sqf:fix>). But when I do so in a Schematron file in oXygen, I get the cvc-complex-type.2.4.d error. I've tried differen...
by whyme
Mon Nov 02, 2015 5:28 pm
Forum: Common Problems
Topic: Regular expressions discrepancy
Replies: 3
Views: 547

Re: Regular expressions discrepancy

Thank you for the thorough background. Would you be willing, next time you update the documentation, to include a modified form of this discussion in the material about regular expressions? The escape classes \w and \W are widely used, and a bit more prominence to the issue in oXygen documentation w...
by whyme
Fri Oct 30, 2015 1:29 am
Forum: Common Problems
Topic: Regular expressions discrepancy
Replies: 3
Views: 547

Regular expressions discrepancy

Suppose a string, "|". When I search that string for a match against \W, there is no match in the context of operation using an XPath expression (say a stylesheet). But there is a match when I search in the oXygen Find/Replace dialog box (i.e. Find: \W). As far as I can tell from the offic...
by whyme
Sat Oct 24, 2015 4:28 am
Forum: Common Problems
Topic: oXygen 17.1, Schematron and normalize-unicode
Replies: 3
Views: 446

Re: oXygen 17.1, Schematron and normalize-unicode

It seems that this idiosyncrasy in fn:normalize-unicode() affects both 17.0 and 17.1. I just happened to notice it while trying to debug the problem in 17.1.

Thanks for jumping on the other error!
by whyme
Fri Oct 23, 2015 12:28 am
Forum: Feature Request
Topic: Batch schema conversions
Replies: 2
Views: 590

Batch schema conversions

It would be nice in the Generate/Convert Schema dialogue box to choose a collection of schema files to convert to another former en bloc, not just one by one.
by whyme
Thu Oct 22, 2015 10:49 pm
Forum: Common Problems
Topic: oXygen 17.1, Schematron and normalize-unicode
Replies: 3
Views: 446

oXygen 17.1, Schematron and normalize-unicode

I have a suite of files that were valid in oXygen 17.0 but now in 17.1 return a fatal error: Internal error evaluating template at line 181 in module... I've isolated the cause to the use of fn:normalize-unicode() in the schematron files when applied to non-ASCII characters (seems to work fine with ...
by whyme
Mon Sep 21, 2015 8:12 pm
Forum: Common Problems
Topic: Document Type Association rule on namespace for tag URN
Replies: 4
Views: 713

Re: Document Type Association rule on namespace for tag URN

Sure, here's a snippet with the root element: <TAN-T xmlns="tag:textalign.net,2015:ns" ... >...</TAN-T> My workaround right now for association rules is this: tag:textalign.net*2015:ns, which is likely to be sufficient. The comma is mandated in tag URNs, which are valid namespaces, so perh...
by whyme
Fri Sep 18, 2015 7:39 pm
Forum: Common Problems
Topic: Binding and unbinding filename autocompletion
Replies: 1
Views: 340

Binding and unbinding filename autocompletion

I am working with an XML vocabulary that defines @src such that it is not a URI. Is there any way to turn off the autocompletion feature that offers a list of local filenames one might want to pick? Also, is there a way to re-bind that filename autocomplete feature with another attribute or element ...
by whyme
Fri Sep 18, 2015 6:40 pm
Forum: Common Problems
Topic: Document Type Association rule on namespace for tag URN
Replies: 4
Views: 713

Document Type Association rule on namespace for tag URN

Hi, I'm setting up a document type association bound to a namespace that is defined with a tag URN. The oXygen association rules aren't binding to documents that have the tag URN as a namespace. I've determined through trial and error that the comma (required by tag URNs) is preventing the namespace...
by whyme
Wed Sep 09, 2015 9:06 pm
Forum: Common Problems
Topic: Autocomplete of xsl:merge
Replies: 2
Views: 424

Autocomplete of xsl:merge

A few bugs: When <xsl:merge> is autocompleted an invalid <xsl:merge-input> is inserted as an intermediary between <xsl:merge> and <xsl:merge-key>. When adding attributes to <xsl:merge-source> @for-each is offered as a false option. It seems that it should be replaced by @for-each-item and @for-each-...
by whyme
Tue Aug 18, 2015 10:35 pm
Forum: Common Problems
Topic: Saxon evaluating functions and variables unnecessarily
Replies: 1
Views: 398

Saxon evaluating functions and variables unnecessarily

When I use Saxon 9.6 to run a transformation, and it comes across a statement such as this... <value-of select ="if ($a) then $a else $b"/> ...it is evaluating $b whether or not $a is true. For a full discussion, along with result discrepancies, see here: http://stackoverflow.com/questions...
by whyme
Fri Aug 14, 2015 9:43 pm
Forum: Feature Request
Topic: Validation time
Replies: 2
Views: 683

Validation time

It would be nice if, upon validating a single document (ctrl+shift+v) we got a note included in the bottom-most status bar indicating how much time it took to validate the file. Or if that feature already exists, the documentation is unclear on how to access it. That would be a big help for those of...

Go to advanced search