Search found 89 matches

by whyme
Mon Sep 05, 2016 6:15 am
Forum: Feature Request
Topic: sch:param/@value color coding
Replies: 0
Views: 3211

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: 1497

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: 4611

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: 1329

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: 3811

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: 2753

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: 2753

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: 2753

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: 4
Views: 3947

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: 1849

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: 1728

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: 1728

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: 1806

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: 1806

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: 1756

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: 2203

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: 1756

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: 2197

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: 1147

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: 2197

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: 1316

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: 1318

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: 2357

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...
by whyme
Wed Jun 10, 2015 11:38 pm
Forum: Common Problems
Topic: Schematron invalidation message on included patterns
Replies: 1
Views: 1783

Schematron invalidation message on included patterns

I have a simple master schematron file (root <sch:schema>) + included schematron file (root <sch:pattern>). The first validates fine but the second, even when empty and otherwise valid, returns this error message: Scenario name: Schematron Document type: Schematron Engine name: ISO Schematron Severi...
by whyme
Wed Jun 03, 2015 4:01 pm
Forum: Common Problems
Topic: Schematron XPath format and indent inconsistencies (apparent
Replies: 4
Views: 3108

Re: Schematron XPath format and indent inconsistencies (appa

Thanks, Florin. To that could you add a third bug, that included Schematron files (which always have a rootmost element that is not sch:schema) do not exhibit the same behavior during format/indent as master Schematron files do? Thanks so much.
by whyme
Wed Jun 03, 2015 12:25 am
Forum: Common Problems
Topic: Schematron XPath format and indent inconsistencies (apparent
Replies: 4
Views: 3108

Schematron XPath format and indent inconsistencies (apparent

I am working with a suite of Schematron files that have dependencies (by way of sch:include). When I format and indent the master Schematron files (the including files, not the included), complex XPath expressions in sch:let/@value and sch:assert/@test (but not, strangely, in sch:report/@test) retur...
by whyme
Wed May 13, 2015 10:01 pm
Forum: Common Problems
Topic: Schematron quick fixes in Word archive
Replies: 1
Views: 1395

Schematron quick fixes in Word archive

I have applied a schematron file with quick fixes to an XML document within a Word file archive and validated the file. The tooltip (red lightbulb occupying the line number) works fine for any error I pick, but then it disappears after that first error is corrected. It does not appear again until th...
by whyme
Mon Mar 09, 2015 8:37 pm
Forum: Feature Request
Topic: link / a href option for xhtml toolbar / menu
Replies: 2
Views: 3011

link / a href option for xhtml toolbar / menu

In the standard oXygen Author menu for docbook, a variety of linking mechanisms are provided in the default toolbar and menu, and these are convenient. But I don't think a corresponding function exists in the Author mode for xhtml. Going into the custom settings for the xhtml menus and toolbars, I f...
by whyme
Fri Mar 08, 2013 9:07 am
Forum: Other Issues
Topic: Validating HTML5 and RDFa lite
Replies: 1
Views: 1539

Validating HTML5 and RDFa lite

I am unable to get oXygen to validate the recommended use of RDFa + HTML5: <?xml version="1.0" encoding="UTF-8"?> <!DOCTYPE html> <html xmlns="http://www.w3.org/1999/xhtml"> <head> <title>Example Document</title> </head> <body vocab="http://schema.org/"> <p ty...