Search found 2360 matches

by adrian
Thu Feb 15, 2018 5:51 pm
Forum: SDK-API, Frameworks - Document Types
Topic: How to customize "Show Definition" (or Quick Assist) feature for my own framework?
Replies: 3
Views: 92

Re: How to customize "Show Definition" (or Quick Assist) feature for my own framework?

Hi, My question is how to customize "Show Definition" (or Quick Assist) feature for my own framework? In short you can't, it's not customizable, there's no API to redefine its behavior. The implementation is completely different for each specialized editor. For XML files "Show Definit...
by adrian
Thu Feb 15, 2018 5:46 pm
Forum: Common Problems
Topic: How to use Oxygen XML Editor to develop DSL IDE?
Replies: 3
Views: 77

Re: How to use Oxygen XML Editor to develop DSL IDE?

Hi, So I want to know what's the Best Practices for developing DSL IDE in Oxygen XML Editor? How to use Oxygen XML Editor to develop DSL just like XSLT? I'm afraid we do not have such best practices for DSL in specific. There is a framework customization tutorial in the user guide, but that revolves...
by adrian
Thu Feb 15, 2018 1:57 pm
Forum: Common Problems
Topic: Build.xml errors in latest update cause build to fail
Replies: 2
Views: 175

Re: Build.xml errors in latest update cause build to fail

Hi, I just wanted to let you know that this issue has been addressed in the latest maintenance build of Oxygen 19.1, 2018013010 (released on February 7th): macOS 10.13/Apache FOP/Oxygen Chemistry: All PDF transformations using Apache FOP or Oxygen Chemistry were failing on macOS 10.13/High Sierra wi...
by adrian
Thu Feb 15, 2018 12:53 pm
Forum: XML Schemas
Topic: make field mandatory depending on values
Replies: 3
Views: 37

Re: make field mandatory depending on values

Hi, AFAIK, this kind of condition is only possible in XSD 1.1 or XSD 1.0+embedded Schematron. For XSD 1.1 you can use xsd:assert. You can find a discussion about such condition on stackoverflow, Conditional required elements in an XSD For embedded Schematron you can use sch:assert. More details and ...
by adrian
Thu Feb 15, 2018 11:44 am
Forum: XQuery
Topic: Remote debug XQuery in eXist-db
Replies: 1
Views: 39

Re: Remote debug XQuery in eXist-db

Hello,

The XQuery debugger from Oxygen does not provide support for eXist-db, it supports Saxon-HE/PE/EE XQuery (local), Berkeley DB XML (local) and MarkLogic (remote).
Currently there are no plans to implement such support for eXist-db.

Regards,
Adrian
by adrian
Wed Feb 14, 2018 5:33 pm
Forum: General XML Questions
Topic: shorten a XPATH expression (or-junction)
Replies: 3
Views: 44

Re: shorten a XPATH expression (or-junction)

Hi,

Try:

Code: Select all

<xsd:assert test="G_SG8/G_SG10/S_CCI[D_7059='Z01']/(D_4051=('Z30', 'Z31'))" />

Regards,
Adrian
by adrian
Tue Feb 13, 2018 4:37 pm
Forum: Common Problems
Topic: How to use Oxygen XML Editor to develop DSL IDE?
Replies: 3
Views: 77

Re: How to use Oxygen XML Editor to develop DSL IDE?

Hi, I'm afraid it's not possible to use/customize Oxygen XML Editor for editing (with helpers) custom content other than XML. The "Content Completion Configuration" only works for XML. There is no way to provide user defined syntax highlight (color coding) and content completion rules in O...
by adrian
Tue Feb 13, 2018 1:38 pm
Forum: Common Problems
Topic: How to use XSD 1.1 in xProc?
Replies: 3
Views: 50

Re: How to use XSD 1.1 in xProc?

Hi, I'm afraid I don't have a solution for this one. I've searched around the web, but can't find anything in this regard. This is between XML Calabash and Saxon-EE. It could be that it's not possible to obtain more detailed information about the error with XProc. The XProc specs mention that: It is...
by adrian
Mon Feb 12, 2018 6:47 pm
Forum: Common Problems
Topic: How to use XSD 1.1 in xProc?
Replies: 3
Views: 50

Re: How to use XSD 1.1 in xProc?

Hi, What version of Oxygen are you using? Older versions of Calabash XProc (prior to 2014) could not be configured to use Saxon-EE with a custom configuration. It seems there was a bug in XProc that made it ignore the Saxon config file. For recent versions, you should copy/edit the file Oxygen\lib\x...
by adrian
Mon Feb 12, 2018 4:01 pm
Forum: Common Problems
Topic: directory diff fails to start
Replies: 7
Views: 167

Re: directory diff fails to start

Hi, If the problem persists and you are willing to help us investigate the problem, you can enable logging in Oxygen. Create a plain text file (unformatted) named 'log4j.properties' with this content: log4j.rootCategory= debug, R2 log4j.appender.R2=org.apache.log4j.RollingFileAppender log4j.appender...
by adrian
Mon Feb 12, 2018 3:56 pm
Forum: Common Problems
Topic: Oxygen 18.1 crashing regularly on OSX
Replies: 8
Views: 584

Re: Oxygen 18.1 crashing regularly on OSX

Hi, I have about the same amount of writers encountering this problem. What version of Oxygen are they using and on what version of macOS? Do note that this may not be the same problem you are encountering. We need a crash or hang log to establish what is happening in your case. You can send the log...
by adrian
Fri Feb 02, 2018 3:29 pm
Forum: Feature Request
Topic: Exclude option from search in files
Replies: 4
Views: 102

Re: Exclude option from search in files

Hi, Other than Linux/Unix command line tools (grep, ack), I haven't seen a tool (especially GUI tool) that supports an exclude string (files without match) search. Anyway, I've logged a feature request for such an option on our issue tracking tool. Meanwhile, for XML files you could use an XPath 3.0...
by adrian
Fri Feb 02, 2018 1:58 pm
Forum: Common Problems
Topic: directory diff fails to start
Replies: 7
Views: 167

Re: directory diff fails to start

Hi, There are no .vmoptions files on the Mac. That's why I said that "On Mac, adjusting the memory for Oxygen .apps is different". On the Mac it's just the Info.plist files. Did you check the memory in Help > About in either Oxygen or Diff Directories tool? The problem may not be the memor...
by adrian
Wed Jan 31, 2018 5:40 pm
Forum: General XML Questions
Topic: Simultanious Find and Replace of Tag Pairs
Replies: 1
Views: 79

Re: Simultanious Find and Replace of Tag Pairs

Hi, If you specifically just want to change both tags of (basically rename) an element, you can right click on either of the start or end tags and pick Refactoring > Rename Element... . In the Rename dialog you can control if this will be done on just the current element, all its siblings or all ele...
by adrian
Tue Jan 30, 2018 4:27 pm
Forum: Common Problems
Topic: distinct-values on project folder
Replies: 1
Views: 37

Re: distinct-values on project folder

Hi, Unfortunately the scope does not behave as an XML collection(). XPath is simply applied on each file from the scope. I've logged an improvement request on our issue tracking tool to accommodate the need for a collection. Meanwhile, you can use something like this: distinct-values(collection('fil...
by adrian
Tue Jan 30, 2018 3:34 pm
Forum: SDK-API, Frameworks - Document Types
Topic: namespace dependent format and indent
Replies: 1
Views: 85

Re: namespace dependent format and indent

Hi, What version of Oxygen are you using? I did set "ns2:element" in the line-break tab but it seems that the namespace-prefix is not being resolved. It works if I only enter "element" but then it would also affect ns1:element. I cannot reproduce this issue in v19.1. For me it do...
by adrian
Tue Jan 30, 2018 2:49 pm
Forum: XSLT and FOP
Topic: Xalan 2.7.2 on Android Studio
Replies: 2
Views: 158

Re: Xalan 2.7.2 on Android Studio

Hi, Not familiar with Android studio development, but the NoSuchMethodError indicates the class org/apache/xalan/extensions/ObjectFactory is loaded from /system/framework/apache-xml.jar, not from 'libs/xalan.jar' like you are probably expecting. java.lang.NoSuchMethodError: No static method lookUpFa...
by adrian
Mon Jan 29, 2018 6:30 pm
Forum: Common Problems
Topic: directory diff fails to start
Replies: 7
Views: 167

Re: directory diff fails to start

Hi, 3. I have been starting from the Oxygen tools menu In that case, if you have 8GB of memory or more, it should work reasonably well, as Oxygen's limit is by default 1/4 of your system RAM. So if you have 8GB it uses 2GB (for 16GB it uses 4GB, and so on). On Mac, adjusting the memory for Oxygen .a...
by adrian
Mon Jan 29, 2018 12:40 pm
Forum: Common Problems
Topic: Oxygen Author randomly crashes
Replies: 1
Views: 38

Re: Oxygen Author randomly crashes

Hello,

In what way is it "crashing", does it get stuck/hang or does the application windows close unexpectedly?
Do you get a crash report dialog when this happens?
Please send us the crash report from within that dialog so we can investigate.

Regards,
Adrian
by adrian
Mon Jan 29, 2018 12:17 pm
Forum: Common Problems
Topic: directory diff fails to start
Replies: 7
Views: 167

Re: directory diff fails to start

Hello, 1. What version of Oxygen/Diff tool are you using? 2. On what platform are you running it (Windows, Mac, Linux)? 3. Are you starting the Diff tool from its own launcher (.exe/.app) or from the Oxygen tools menu? But the progress bar sho NO progress That means it was not able to complete makin...
by adrian
Fri Jan 26, 2018 7:12 pm
Forum: Common Problems
Topic: File permissions changed
Replies: 3
Views: 108

Re: File permissions changed

Your solution works for my personal use, but I cannot distribute an epub with this issue, anyone could have that problem reading it in a Unix system. Do note that the permissions do not affect the EPUB when it is in its packed form. For the purpose of reading, why would anyone unpack the EPUB with ...
by adrian
Thu Jan 25, 2018 7:19 pm
Forum: Common Problems
Topic: File permissions changed
Replies: 3
Views: 108

Re: File permissions changed

Hi, Modifying a file causes the permissions of all the other files and folders to be lost (or unrecognized) in the epub. We are aware of this problem with epubs created on Linux/Mac with other tools and edited in Oxygen. If the epub is created in Windows (or with Oxygen), the problem should not occu...
by adrian
Thu Jan 25, 2018 7:10 pm
Forum: XML Schemas
Topic: XML validation against created XSD not possible
Replies: 1
Views: 170

Re: XML validation against created XSD not possible

Hi, What's the validation error that you are seeing? We can't guess what the problem may be, we need sample files to reproduce the problem. You can use the Technical Support form from our web site to send the files. We need at least one (more would be better) XML file used as the source and the gene...
by adrian
Fri Jan 19, 2018 5:10 pm
Forum: Common Problems
Topic: Build.xml errors in latest update cause build to fail
Replies: 2
Views: 175

Re: Build.xml errors in latest update cause build to fail

Hi, In case anyone else encounters this, the problem is not triggered by an Oxygen update, but by a macOS update. macOS 10.13 introduced a new font for emoji, "Apple Color Emoji.ttc" (~136MB ). This is huge by font standards. The font detection that is used by both Apache FOP 2.2 and Oxyge...
by adrian
Thu Dec 14, 2017 3:44 pm
Forum: Common Problems
Topic: Where are scenarios stored?
Replies: 2
Views: 117

Re: Where are scenarios stored?

Hi, What OS is your notebook using (Windows, OS X, Linux)? By default scenarios are stored at project level, so in the project (.xpr) file you are using. If you weren't even aware you were using a project file, you were most likely using the samples project file that oxygen provides. The samples pro...
by adrian
Thu Dec 14, 2017 12:59 pm
Forum: Common Problems
Topic: Opening files through a protocol
Replies: 9
Views: 232

Re: Opening files through a protocol

Hello, In short, not in a simple way. The main issue is the browser/OS configuration and lastly Oxygen. From a web browser there are a number of complications: 1. Either the web browser needs to know what application should be used with that custom protocol, or the browser should pass the URI it to ...
by adrian
Wed Dec 13, 2017 7:21 pm
Forum: Common Problems
Topic: Slow Transformation Scenarios in Projects
Replies: 4
Views: 208

Re: Slow Transformation Scenarios in Projects

They do, but I have DTD and Schema validations turned off in Options > Preferences > XML > XSLT/XSLT-FO/XQuery > XSLT > Saxon > Saxon-HE/PE/EE. Is there another place those options can be set? As you have observed, turning them off is not enough, especially for DTD which is considered part of the X...
by adrian
Thu Dec 07, 2017 7:06 pm
Forum: Common Problems
Topic: Slow Transformation Scenarios in Projects
Replies: 4
Views: 208

Re: Slow Transformation Scenarios in Projects

Hello, This could be a Saxon issue, but requires further investigation. 1. What version of Oxygen are you using (guessing v19.1 which means Saxon 9.7.0.19)? 2. What version of saxon9he are you using in the command line? 3. Do the XML files from the directory have any references to remote resources (...
by adrian
Wed Dec 06, 2017 7:30 pm
Forum: General XML Questions
Topic: How To Find Invalid XML Characters (Unicode 0x12)
Replies: 1
Views: 241

Re: How To Find Invalid XML Characters (Unicode 0x12)

Hello, Assuming that message is indeed correct and there is a Unicode character with the hexadecimal code 0x12 in the content, you can search for it in Oxygen with the Find > Find/Replace tool. Use: Find: \u0012 Options: [x] Regular expression You can also use this with the Find > Find/Replace in Fi...
by adrian
Tue Dec 05, 2017 4:19 pm
Forum: Feature Request
Topic: XSL Debugger: Quickly diff result against source
Replies: 3
Views: 375

Re: XSL Debugger: Quickly diff result against source

Hi, Thank you for the feedback. While diffing the output against the input may be useful for a specific use case, it is a very specific use case (input and output need to be very similar). I'll log it as a feature request, but IMHO, since this has a very limited use, it won't be adopted. As it is, I...

Go to advanced search