Search found 2855 matches

by adrian
Mon Apr 18, 2011 11:18 am
Forum: XSLT and FOP
Topic: Conditional Character map?
Replies: 5
Views: 2819

Re: Conditional Character map?

Hello, If you want to use the translate function you need a 1 to 1 mapping of the characters in the second and third argument strings(1 character in the second argument is replaced with the corresponding character from the third argument). But if I understand correctly you want to replace a characte...
by adrian
Fri Apr 15, 2011 6:07 pm
Forum: Common Problems
Topic: Backward text entry!
Replies: 5
Views: 2538

Re: Backward text entry!

Hi,

We already have this logged on our issue tracking tool.
If this problem happens to you only on a specific file then it would be helpful if you could send us the file(or a sample) for analysis. If it is possible, please send it to our support email address: support@oxygenxml.com

Regards,
Adrian
by adrian
Thu Apr 14, 2011 4:58 pm
Forum: XSLT and FOP
Topic: Conditional Character map?
Replies: 5
Views: 2819

Re: Conditional Character map?

Hello,

xsl:character-map allows a "use-when" attribute(Conditional Element Inclusion) but unfortunately its value is evaluated statically so you can't use a parameter or variable to trigger it.

Regards,
Adrian
by adrian
Thu Apr 14, 2011 12:39 pm
Forum: General XML Questions
Topic: Download a wsdl file and alle its referenced xsd's
Replies: 2
Views: 5986

Re: Download a wsdl file and alle its referenced xsd's

Hello, There is no function in Oxygen that downloads all referenced files. You will have to manually open and save each file from the schema hierarchy. To do this in Oxygen, navigate to a schema reference(schema import or include) and to open it press CTRL+ENTER(in Text mode) or CTRL+SHIFT+ENTER(in ...
by adrian
Fri Apr 08, 2011 3:40 pm
Forum: Feature Request
Topic: Sausalito support
Replies: 1
Views: 1258

Re: Sausalito support

Hello,

Thank you for the feedback.
I'll add this request to our issue tracking tool.

Meanwhile, if Sausalito is already supported through an Eclipse plugin, you could also use an Oxygen Eclipse plugin and have the two working together.

Regards,
Adrian
by adrian
Wed Apr 06, 2011 6:04 pm
Forum: Common Problems
Topic: including xinclude
Replies: 5
Views: 2309

Re: including xinclude

Hello, In the driver.dtd you should put the XInclude extension before the Docbook DTD: <!-- DTD extensions --> <!ENTITY % xinclude SYSTEM "docbook/xml/xinclude.mod"> %xinclude; <!-- DocBook 4.5 --> <!ENTITY % docbook4.5 SYSTEM "docbook/xml/4.5/docbookx.dtd"> %docbook4.5; This is ...
by adrian
Wed Apr 06, 2011 4:18 pm
Forum: Common Problems
Topic: Backward text entry!
Replies: 5
Views: 2538

Re: Backward text entry!

Hi, Check if BIDI mode is triggered for the document with the problem. To verify this, go to the main menu: Window -> Show View -> Properties and in the Properties view look at the "BIDI" property value. If BIDI is "true" and you are not actively using right-to-left writing you m...
by adrian
Wed Apr 06, 2011 10:37 am
Forum: Feature Request
Topic: Update links in DITAMAP
Replies: 2
Views: 2197

Re: Update links in DITAMAP

Hello,

Thank you for the feedback.

I've added a feature request to our issue tracking tool for DITA-aware refactoring.
This will be analyzed and implemented in a future version of Oxygen.

Regards,
Adrian
by adrian
Tue Apr 05, 2011 1:09 pm
Forum: Common Problems
Topic: Oxygen Command Line
Replies: 1
Views: 1578

Re: Oxygen Command Line

Hello, What type of document(DITA, DocBook, etc) have you used for the User Guide? Unfortunately the Oxygen transformations can only be invoked in user interactive mode, not from the command line. However, for most document types it's not that difficult to create an ant task that does about the same...
by adrian
Mon Apr 04, 2011 3:09 pm
Forum: General XML Questions
Topic: XML generation from inherited DTD
Replies: 1
Views: 1582

Re: XML generation from inherited DTD

Hello,

The Generate Sample XML Files tool only works with XML Schemas(XSD), it does not work with DTDs.

In what type of schema is the DTD inherited?

Regards,
Adrian
by adrian
Mon Apr 04, 2011 1:06 pm
Forum: Common Problems
Topic: Upgrading to 11.0 from 10.3
Replies: 4
Views: 2484

Re: Upgrading to 11.0 from 10.3

Hello, By the looks of things this could be a Saxon bug. I found something similar that could be related: http://saxon.markmail.org/message/73peajwe6swtty5n I'm not sure if this was fixed in later versions of Saxon. Have you tried the same transformation with Oxygen 11.2(Saxon 9.2.0.6) or 12.1(Saxon...
by adrian
Fri Apr 01, 2011 7:15 pm
Forum: Other Issues
Topic: Java heap space OutOfMemory error in 12.1
Replies: 8
Views: 6098

Re: Java heap space OutOfMemory error in 12.1

Hello,

We've already discussed this in private, but to clarify for other people encountering this: Further increasing the heap to 768 has fixed this particular problem.

Regards,
Adrian
by adrian
Thu Mar 31, 2011 6:08 pm
Forum: Feature Request
Topic: Wrap/unwrap selected text in an element
Replies: 11
Views: 11623

Re: Wrap/unwrap selected text in an element

Hello, Oxygen already has these functions/actions in Text mode. To wrap the selected content, right click on the selection and from the contextual menu choose Refactoring -> Surround with Tags(Ctrl+E) . You can choose a tag name from the proposed list or simply type your own. To unwrap , right click...
by adrian
Mon Mar 28, 2011 3:16 pm
Forum: XML Schemas
Topic: Logical Model View -- save as Relax NG
Replies: 18
Views: 13704

Re: Logical Model View -- save as Relax NG

I'm afraid you can't configure the external tool to add the output file to the project. An alternative is to manually add the parent directory(or another ancestor) of the output file to the project. In the project tree right click on a logical resource or the tree root and from the contextual menu c...
by adrian
Fri Mar 25, 2011 3:15 pm
Forum: General XML Questions
Topic: Reg expression help needed
Replies: 3
Views: 2023

Re: Reg expression help needed

* means greedy match 0 or more times - it will consume as much as it can
*? means lazy match 0 or more times - it will consume as little as it can

Practical example:
Given the string:
aabbaabb

Searching a.*b will match the entire string: aabbaabb
Searching a.*?b will match aabbaabb
by adrian
Fri Mar 25, 2011 1:47 pm
Forum: General XML Questions
Topic: Reg expression help needed
Replies: 3
Views: 2023

Re: Reg expression help needed

Hello, You need to perform this replace manually(a one time thing) or do you need this for an application/script that does this automatically/repeatedly? To me it seems you primarily need to rename the section elements to bridgehead . In Oxygen you can easily do this with the Rename Element(ALT+SHIF...
by adrian
Thu Mar 24, 2011 4:30 pm
Forum: Common Problems
Topic: Find/Replace in Files: Inconsistent with basic Find/Replace
Replies: 1
Views: 1016

Re: Find/Replace in Files: Inconsistent with basic Find/Replace

Hello,

This is a known limitation, Find/Replace in Files searches one line at a time, so you cannot obtain search matches that span over multiple lines.
We do plan to resolve this limitation in a future version of Oxygen. I've added your vote for this.

Regards,
Adrian
by adrian
Thu Mar 24, 2011 4:04 pm
Forum: XML Schemas
Topic: Logical Model View -- save as Relax NG
Replies: 18
Views: 13704

Re: Logical Model View -- save as Relax NG

Hello,

Like George said, you can use cmd:
cmd /C java -jar "C:\MyPath\OxygenXMLEditor\external_tools\jing-20090818\bin\jing.jar" -cs ${cfne} > ${cfn}_flatten.rng

Make sure the working directory is correct or use the current file directory editor variable: ${cfd}

Regards,
Adrian
by adrian
Thu Mar 24, 2011 11:57 am
Forum: Other Issues
Topic: How can I export images as SVG?
Replies: 1
Views: 1103

Re: How can I export images as SVG?

Hello, From what source(what view or editor) are you trying to export as SVG? If it's in the schema diagram(Design mode) then SVG is not available yet(in v12.1). The support to generate SVG from the schema diagram has just been implemented and will be available starting with v12.2. Regards, Adrian L...
by adrian
Tue Mar 22, 2011 12:36 pm
Forum: General XML Questions
Topic: Query on XML transformation to PDF & WebHelp
Replies: 3
Views: 2846

Re: Query on XML transformation to PDF & WebHelp

Hello, Oxygen 11.x provides default transformations for DocBook to PDF, HTML, XHTML but not to WebHelp. These transformations all rely on XML stylesheets(XSLT), not CSS. The PDF transformation generates an FO and then uses FOP for producing the PDF. By default Apache FOP is used, but any command lin...
by adrian
Mon Mar 21, 2011 7:05 pm
Forum: Other Issues
Topic: Cannot apply-templates to child nodes when the context item
Replies: 4
Views: 4030

Re: Cannot apply-templates to child nodes when the context item

Hi,

classValue is not a variable, it's a parameter of the template:

Code: Select all

<xsl:template name="matchClassValue">
<xsl:param name="classValue"/>
...
Regards,
Adrian
by adrian
Fri Mar 18, 2011 5:52 pm
Forum: XSLT and FOP
Topic: additonal tabs and lines in output after XSL
Replies: 1
Views: 1272

Re: additonal tabs and lines in output after XSL

Hello,

I'm guessing you're copying all the text(including indents) from the source XML. Can you show me the XSLT(or part of it) that's generating this output?

Regards,
Adrian
by adrian
Fri Mar 18, 2011 5:41 pm
Forum: Other Issues
Topic: Cannot apply-templates to child nodes when the context item
Replies: 4
Views: 4030

Re: Cannot apply-templates to child nodes when the context item

Hello, The context inside the xsl:analyze-string is represented by its select, so in your case it's a string(the value of the class attribute). Here's a quick solution. Keep the string match separate(use a named template to do it) when constructing the result document: <xsl:template match="addr...
by adrian
Thu Mar 17, 2011 5:46 pm
Forum: Common Problems
Topic: Author and Editor shut down on start
Replies: 2
Views: 1030

Re: Author and Editor shut down on start

Hi, Just in case anyone else encounters this, the problem was that during the Oxygen startup, DLLs from two different Java JREs were somehow mixed together. Oxygen started with the bundled JRE, 1.6.0_18, but for some unknown reason, loaded some of the DLLs of the system installed JRE. This was causi...
by adrian
Wed Mar 16, 2011 10:59 am
Forum: Common Problems
Topic: HttpException Error About DocBook DTD
Replies: 2
Views: 1431

Re: HttpException Error About DocBook DTD

Hello, It is generally a good practice to keep a local copy of the remote DTDs/schemas and an XML catalog that resolves the remote URLs to the local files. A guide on setting up XML catalog files can be found here: http://www.oxygenxml.com/doc/articles/HowToCreateAndSetUpXMLCatalogFiles/HowToCreateA...
by adrian
Mon Mar 14, 2011 1:51 pm
Forum: Common Problems
Topic: Author and Editor shut down on start
Replies: 2
Views: 1030

Re: Author and Editor shut down on start

Hello, I've sent you a private email, but for all intents and purposes I'm also including here the first part of it. Is Oxygen.exe still running after the splash screen disappears? To check for this, right click on the task bar(on an empty space) and from the popup menu choose "Task Manager&quo...
by adrian
Fri Mar 11, 2011 1:27 pm
Forum: Feature Request
Topic: Link to forums under Help menu
Replies: 1
Views: 2047

Re: Link to forums under Help menu

Hello, While a link to the forum is reasonable to have in Oxygen, the "bonus points" request is a bit over the top. Bugs(and even feature requests) can already be reported from Help -> Report Problem(as you've observed). We would rather have the problems and requests reported via email(&qu...
by adrian
Fri Mar 11, 2011 12:07 pm
Forum: Other Issues
Topic: Folding Oxygen 12.1
Replies: 4
Views: 2958

Re: Folding Oxygen 12.1

Hello, It's possible that the document contains special Unicode characters which are triggering the BIDI(bidirectional) editing mode(allows right-to-left writing). The BIDI mode has some limitations, it forces a fixed font and also disables folding. Open the Properties view(Window -> Show View -> Pr...
by adrian
Thu Mar 10, 2011 5:20 pm
Forum: Other Issues
Topic: Folding Oxygen 12.1
Replies: 4
Views: 2958

Re: Folding Oxygen 12.1

Hello, Are you using the stand-alone or Eclipse version of Oxygen? What version and build number of Oxygen are you using(standalone: Help -> About or Eclipse: Windows -> Preferences -> oXygen)? Is the entire document on a single line(no line breaks) or does it have one very long line? Regards, Adrian
by adrian
Tue Mar 08, 2011 7:02 pm
Forum: Common Problems
Topic: Customizing *.xpr files (Oxygen Project files)
Replies: 1
Views: 2770

Re: Customizing *.xpr files (Oxygen Project files)

Hello, While you can manually edit the XPR project files(since they are XML files) I wouldn't recommend this unless absolutely necessary(e.g. to to copy/paste some options or file references from one project file to another). Most manual modifications can't produce more that minor glitches(missing f...