Search found 73 matches
- Wed Nov 25, 2020 9:48 am
- Forum: Common Problems
- Topic: Configure transformation scenarios boolean
- Replies: 3
- Views: 151
Re: Configure transformation scenarios boolean
After some diagnostics it seems that the error occurs specifically with static params. Your example code works, but not if you add static="yes" to <xsl:param>. If you haven't reconfigured the transformation scenario, the warning/error will read Parameter $isParam cannot be supplied dynamically becau...
- Tue Nov 17, 2020 1:34 pm
- Forum: Common Problems
- Topic: Configure transformation scenarios boolean
- Replies: 3
- Views: 151
Configure transformation scenarios boolean
I think I've followed the instructions for Configure Transformation Scenarios > Edit scenario > Parameters > Configure Parameters > Edit correctly. I am trying to pass a value to a parameter that takes a boolean. But no matter what I type, true(), true, 1, ${xpath_eval(true())}, exists(/*) I get an ...
- Fri Sep 04, 2020 1:10 pm
- Forum: Feature Request
- Topic: Add import button in DTA Author Actions menu
- Replies: 1
- Views: 239
Add import button in DTA Author Actions menu
Under Document Type Association > Author > Actions there is a button that allows you to export actions, but not a comparable button to allow you to import them. The current documentation is unclear on how to import actions that have been saved elsewhere.
- Thu Jul 23, 2020 12:38 pm
- Forum: Common Problems
- Topic: Configure Validation Scenarios does not detect phases in Schematron with includes
- Replies: 3
- Views: 350
Re: Configure Validation Scenarios does not detect phases in Schematron with includes
Thanks Octavian. I don't know if the following would be persuasive in the decision whether to implement this feature, but Schematron includes, unlike XSLT includes, have a small iteration limit. To fetch a Schematron phase that has been included, you need (I think) go no deeper than one round of inc...
- Thu Jul 23, 2020 7:17 am
- Forum: Common Problems
- Topic: Configure Validation Scenarios does not detect phases in Schematron with includes
- Replies: 3
- Views: 350
Configure Validation Scenarios does not detect phases in Schematron with includes
I have a Schematron file that is for the most part empty, except for the <sch:include> elements that point to included Schematron files that have the intended <sch:phase> and <sch:active> elements that define the phases. When I go to Configure Validation Scenario(s) > Edit Scenario, and then specify...
- Thu Jul 16, 2020 6:12 am
- Forum: Common Problems
- Topic: Newly installed fonts not populating
- Replies: 2
- Views: 310
Re: Newly installed fonts not populating
Thanks! That worked, and I didn't have to reboot. As a note to those coming across this post: if when you right-click on a font you do not see the option "Install for all users" here are two possible reasons + fixes: The font file you've chosen is already installed in C:\Windows\Fonts. Move the file...
- Wed Jul 15, 2020 5:03 pm
- Forum: Common Problems
- Topic: Newly installed fonts not populating
- Replies: 2
- Views: 310
Newly installed fonts not populating
On a Windows 10 machine I've installed three different fonts (GFS Didot, Minion Pro, Iosevka) of different types (ttf, ttc, otf), and none of these appear as font preference options in oXygen vv. 20-22, after multiple opens and closes. But the fonts do in other software. Any suggestions?
- Fri Jun 05, 2020 2:42 pm
- Forum: Common Problems
- Topic: Run XSpec Test configuration for XML 1.1
- Replies: 2
- Views: 389
Re: Run XSpec Test configuration for XML 1.1
Thanks, Alex. It's my question, so I'm happy to put in the ticket and follow through. When there's resolution I'll try to remember to post back here.
- Fri Jun 05, 2020 7:12 am
- Forum: Common Problems
- Topic: Run XSpec Test configuration for XML 1.1
- Replies: 2
- Views: 389
Run XSpec Test configuration for XML 1.1
I'm trying to do the Run XSpec Test on an xspec file that uses control characters (i.e., XML 1.0 doesn't like them). The system bombs despite the file saying that it is XML 1.1. In the Parameters tab of the Run XSpec Test is an entry for saxon.custom.options. I've guessed that it is looking for a co...
- Mon Jan 06, 2020 5:58 am
- Forum: Common Problems
- Topic: fn:doc-available() and fatal error premature end of file
- Replies: 2
- Views: 489
Re: fn:doc-available() and fatal error premature end of file
I've new tried the same tests on a third internet connection (one I use more frequently), and the error doesn't happen. Strange.
- Wed Jan 01, 2020 4:52 pm
- Forum: Common Problems
- Topic: fn:doc-available() and fatal error premature end of file
- Replies: 2
- Views: 489
fn:doc-available() and fatal error premature end of file
When I run doc-available('http://badurl.com/bad.xml'), either as part of a stylesheet or in the XPath/XQuery Builder, on one of the Saxon products (9.8.0.8 or .12) I get a fatal error: Premature end of file. However, the error is not thrown by the following url alternatives: 'http://badurl.com/bad.h...
- Thu Nov 07, 2019 11:18 am
- Forum: Common Problems
- Topic: Transformation Scenario ${xpath_eval} and regex
- Replies: 2
- Views: 479
Transformation Scenario ${xpath_eval} and regex
I am using editor variable ${xpath_eval} within a transformation output scenario Save As box, because I want to tweak the base uri of the input before sending it to output. But when I do something like this... ${pd}/${xpath_eval(replace(base-uri(),'.+/(\w+).+','$1'))}.html ...I get an error. The lin...
- Fri Oct 25, 2019 8:17 am
- Forum: Common Problems
- Topic: arch:extract-map multiple methods
- Replies: 1
- Views: 454
arch:extract-map multiple methods
I am experimenting with the expath-archive function library. So far, arch:*-map() functions in general seem to work fine, but whenever I invoke arch:extract-map($i, $j), I get this validation error: [Saxon-EE 9.8.0.12] There is more than one method matching the function call arch:extract-map, and th...
- Thu Jul 18, 2019 8:41 am
- Forum: Common Problems
- Topic: saxon:validate()
- Replies: 2
- Views: 617
Re: saxon:validate()
I just found the problem: in my Preferences > XML > XSLT-XQuery > XSLT > Saxon > Saxon-HE/PE/EE I had been pointing to a configuration file, which was overriding the options I had set up to handle saxon:validate(). Hope this helps someone else who stubs their toe on the same issue.
- Thu Jul 18, 2019 8:27 am
- Forum: Common Problems
- Topic: saxon:validate()
- Replies: 2
- Views: 617
saxon:validate()
In an XSLT 3.0 stylesheet I want to invoke from the Saxon function library saxon:validate(). oXygen offers the function as part of the autocomplete options when I type. But once the function is in place, the stylesheet is marked as invalid, saying that it cannot find a 1-argument function named {htt...
- Fri Apr 26, 2019 7:13 pm
- Forum: Feature Request
- Topic: Saxon configuration file export
- Replies: 1
- Views: 670
Saxon configuration file export
Hi, it would be nice if, somewhere in the oXygen (I would guess preferences), one could save a Saxon configuration file that has the values that are currently set in the global or project options.
- Fri Apr 26, 2019 6:45 pm
- Forum: Feature Request
- Topic: Add Saxon -xmlversion checkbox
- Replies: 1
- Views: 680
Add Saxon -xmlversion checkbox
Hi, it would be nice if Options > Preferences > XML > XSLT-XQuery > > Saxon-HE/PE/EE had a checkbox allowing users to toggle between 1.0 and 1.1 for values of -xmlversion. I realize I can build my own configuration file, but that would be less convenient than playing with oXygen's preferences.
- Tue Mar 26, 2019 1:11 am
- Forum: Feature Request
- Topic: namespace prefixes for author action XPaths
- Replies: 1
- Views: 642
namespace prefixes for author action XPaths
I have a frameworks file where I want, in the Author Actions, to specify an Activation XPath that applies to a <div> in one namespace but not another. It would be nice if in a framework I could declare namespace prefixes and use them, independent of what the user might have (or not have) listed at P...
- Tue Mar 12, 2019 8:43 pm
- Forum: Common Problems
- Topic: Schematron and external functions
- Replies: 6
- Views: 1421
Schematron and external functions
In a project that was once upon a time validating fine on a Mac (oXygen v. 20), I am now (v. 21 on PC) getting the following message: [ISO Schematron] xsl:result-document is disabled when extension functions are disabled. For security reasons the external function calls have been disabled because th...
- Sat Sep 01, 2018 6:30 pm
- Forum: Common Problems
- Topic: Information window pane view disappeared
- Replies: 4
- Views: 1233
Re: Information window pane view disappeared
Update: when I switch to the Database perspective, I get the Information view just fine. But when I switch back to Editor perspective it disappears again.
- Sat Sep 01, 2018 6:22 pm
- Forum: Common Problems
- Topic: Information window pane view disappeared
- Replies: 4
- Views: 1233
Information window pane view disappeared
I was moving a floating information window pane to a second monitor and through a poor drag of my mouse, it went off the screen. I now can't get it back, despite trying different things (removing the second monitor, resizing screen resolution). I completely reinstalled oXygen 20.1 and the info pane ...
- Thu Aug 09, 2018 5:31 pm
- Forum: Common Problems
- Topic: Crypto class missing in TEI ODD transformation
- Replies: 2
- Views: 1424
Re: Crypto class missing in TEI ODD transformation
Thank you, Alex. It turns out that I needed to do what you suggested, but in a different area. I document it here in case others stumble across this thread. The problem lay in the Ant Transformation Scenario I had already set up. I needed to go into Configure Transformation Scenarios and edit the ch...
- Thu Aug 09, 2018 4:44 pm
- Forum: Common Problems
- Topic: Crypto class missing in TEI ODD transformation
- Replies: 2
- Views: 1424
Crypto class missing in TEI ODD transformation
I'm trying to do an ANT-based transformation of an ODD file and getting this error: Description Transformation failed. /Applications/Oxygen XML Editor/frameworks/tei/xml/tei/stylesheet/common/teianttasks.xml:389: java.lang.NoClassDefFoundError: ro/sync/basic/util/Crypto Severity Fatal Scenario TAN s...
- Mon Aug 06, 2018 10:13 pm
- Forum: Common Problems
- Topic: Formatting problem for RNC files with > 1 level of inclusion
- Replies: 3
- Views: 1502
Re: Formatting problem for RNC files with > 1 level of inclusion
I've gotten these results running oXygen 20.0 build 2018042410 on a Mac and 20.1 build 2018061313 on a PC. Sample code below. a.rnc: include "incl/b.rnc" { start = element test { xsd:double } } incl/b.rnc: include "c.rnc" { start = element test { xsd:double } } incl/c.rnc: start = element test { xsd...
- Fri Jul 27, 2018 4:07 am
- Forum: Common Problems
- Topic: Formatting problem for RNC files with > 1 level of inclusion
- Replies: 3
- Views: 1502
Formatting problem for RNC files with > 1 level of inclusion
Given the following files... a.rnc incl/b.rnc incl/c.rnc ...A includes B and B includes C. Validation is fine in all three files. But formatting the document (CTRL + SHIFT + P) works for only B & C. For A I get the following error: C:\Program Files\Oxygen XML Editor 20\incl\c.rnc (The system cannot ...
- Fri May 25, 2018 12:31 am
- Forum: Feature Request
- Topic: Feature request: button to toggle automatic validation
- Replies: 1
- Views: 1415
Feature request: button to toggle automatic validation
I find it just a bit of a hassle to go Options > Preferences > Editor > Document Checking to toggle auto validation on and off. It would be nice if there were a toolbar button to do this as well. Maybe that feature already exists and I can't find it?
- Sat Apr 21, 2018 7:16 pm
- Forum: Common Problems
- Topic: Content completion fn:json-to-xml()
- Replies: 1
- Views: 1152
Content completion fn:json-to-xml()
In an XSLT 3.0 stylesheet I don't see the built-in json-to-xml() show up in the list of functions built via content completion. The function, hand-typed in, works fine. Any suggestions on how to get it in content completion? I didn't see anything in Preferences that seemed to answer this question.
- Fri Apr 20, 2018 12:47 am
- Forum: Feature Request
- Topic: ${ask} relative_url enhancements
- Replies: 1
- Views: 1540
${ask} relative_url enhancements
I find that I've been using the editor variable ${ask('message', relative_url, 'value')} to prompt a user either to choose a place where to save output, or to select files for supplementary input. For the first need, it would be nice if users could pick just a directory, and not a file. For the seco...
- Fri Apr 13, 2018 4:01 am
- Forum: Common Problems
- Topic: Add on: git: discrepancy with the shell
- Replies: 3
- Views: 1631
Re: Add on: git: discrepancy with the shell
Hi Sorin,
Hm, it seems that a little experiment I did showed that the problem is specific to my git repo, which has had several years of accumulation, and at one point the case difference and diacriticals threw a wrench in the normal git workflow. So ignore my complaint.
Hm, it seems that a little experiment I did showed that the problem is specific to my git repo, which has had several years of accumulation, and at one point the case difference and diacriticals threw a wrench in the normal git workflow. So ignore my complaint.
- Thu Apr 05, 2018 6:22 pm
- Forum: Common Problems
- Topic: Add on: git: discrepancy with the shell
- Replies: 3
- Views: 1631
Add on: git: discrepancy with the shell
In the git plugin I'm getting a list of files for deleting and adding that don't match the list that exists when I run git status in the shell. These seem to have to do with cases where filenames have had changes in case, or in accentuation. If you want to look, I've just pushed a clean repo here . ...