Search found 2850 matches

by adrian
Wed May 19, 2010 9:16 am
Forum: Common Problems
Topic: XSLT with Java extension
Replies: 13
Views: 9745

Re: XSLT with Java extension

Hello,

You can do the same thing in the Oxygen Eclipse plugin but if you want to use the existing sources you should add the classes(bin) folder of the Java project to the Extensions instead of the jar.
Also, make sure that your project is built automatically.

Regards,
Adrian
by adrian
Tue May 18, 2010 2:43 pm
Forum: Common Problems
Topic: Elements view and NVDL
Replies: 3
Views: 1943

Re: Elements view and NVDL

Hi, I've looked a little harder and I think you have a point. I see something similar to what you're describing happening in the sample I mentioned. e.g. inside an xforms:textarea the CC shows a lot of HTML elements and an xforms:label element in the list of tags. But in the Elemnents view there's o...
by adrian
Tue May 18, 2010 2:28 pm
Forum: Common Problems
Topic: Elements view and NVDL
Replies: 3
Views: 1943

Re: Elements view and NVDL

Hello, So only the Elements view is missing the correct tags from the nvdl? And if you press ENTER(content completion) in the Author you find the tags from the nvdl? Have you tried using Document -> Validate -> Reset Cache and Validate? This should reset and update the cached schema, but I guess if ...
by adrian
Tue May 18, 2010 11:52 am
Forum: Other Issues
Topic: "The file has been changed on the file system." problem
Replies: 8
Views: 7430

Re: "The file has been changed on the file system." problem

Hi, I forgot to ask on what platform are you running Oxygen, what Operating System? I find your setup to be rather complicated and unusual and I believe there is a large number of possibilities in which the files could really get modified outside of Oxygen. So if I understood correctly there are oth...
by adrian
Mon May 17, 2010 5:16 pm
Forum: Common Problems
Topic: 'ghost' attributes showing up in XML source
Replies: 6
Views: 2593

Re: 'ghost' attributes showing up in XML source

The DTD's contribution to the XML source aside, data should not be added to the source. And it never is, the source remains untouched. The transformation result on the other hand is affected because the input is not composed of the XML source alone, but by the XML parsed model which also includes t...
by adrian
Mon May 17, 2010 2:42 pm
Forum: Other Issues
Topic: "The file has been changed on the file system." problem
Replies: 8
Views: 7430

Re: "The file has been changed on the file system." problem

Hi, I have sent you a private email as a response to your report on our support email address. I'm pasting here the content of that email. What version and build number of Oxygen are you using(Help -> About)? Does this happen every time you save any document in Oxygen, or is it a specific document? ...
by adrian
Mon May 17, 2010 2:20 pm
Forum: Other Issues
Topic: Saving a document via webservices
Replies: 3
Views: 1778

Re: Saving a document via webservices

Hello, If it's the file size then it may be a server problem. But I see that the message is of a timeout error. You can try to increase the read timeout value in: Options -> Preferences -> HTTP(S)/(S)FTP/Proxy Configuration -> Advanced HTTP Settings, Read timeout(s) The value is in seconds, try 40 o...
by adrian
Mon May 17, 2010 12:51 pm
Forum: XSLT and FOP
Topic: Xml for SVG
Replies: 3
Views: 1578

Re: Xml for SVG

Hello,

I'm not sure if I understood correctly but if what you want is to obtain that SVG from transforming an XML with an XSLT then you can look at the SVG sample that comes with Oxygen: [oxygen-installation-folder]/samples/svg: sales.xml, sales.xsl

Regards,
Adrian
by adrian
Mon May 17, 2010 10:24 am
Forum: XSLT and FOP
Topic: multiple articles into a book
Replies: 1
Views: 1279

Re: multiple articles into a book

Hello, First things first. What sort of article you'd like to merge into what sort of book(DocBook, DITA)? Not sure how easy it would be but usually the answer is you can write(or find) an XSLT(XML stylesheet) that can do this for you. But it all depends on the type of the source documents and the t...
by adrian
Fri May 14, 2010 4:10 pm
Forum: XSLT and FOP
Topic: Matching children with namespace prefix
Replies: 2
Views: 1768

Re: Matching children with namespace prefix

Hello, So far I see the wrong namespace: XML: <m:text xmlns:m="http://ns.adobe.com/xfdf/" ...> XSL: xmlns:m="http://ns.adobe.com/Acrobat/RSS/Reviews/" Should be the same namespace if you want the match="m:text" to work. And it also depends on the result of: <xsl:if test...
by adrian
Fri May 14, 2010 3:38 pm
Forum: Common Problems
Topic: 'ghost' attributes showing up in XML source
Replies: 6
Views: 2593

Re: 'ghost' attributes showing up in XML source

More importantly, they do not appear in the source XML . Yet, when the source is examined in the tree view or an XPath is run searching for the particular attributes (which do appear in other points in the source document) or a transformation is run, the nodes are shown/returned/copied to the resul...
by adrian
Fri May 14, 2010 12:52 pm
Forum: Common Problems
Topic: 'ghost' attributes showing up in XML source
Replies: 6
Views: 2593

Re: 'ghost' attributes showing up in XML source

Hello, The greyed out attributes that you are seeing in Oxygen are attributes with default values defined in the DTD or schema. This means that even though the attributes aren't explicitly mentioned in the XML file they are inherited from the DTD/schema. When you delete the value you are actually ex...
by adrian
Fri May 14, 2010 11:34 am
Forum: Common Problems
Topic: FO output on Mac > missing pdf file suffix
Replies: 2
Views: 1346

Re: FO output on Mac > missing pdf file suffix

Hello, Thank you for reporting this. I'm afraid this is a case of different platform behaviour that we have not considered at the time it was implemented. In Windows the file chooser that prompts you for the file name usually has a file type filter and it concatenates automatically the file extensio...
by adrian
Tue May 11, 2010 11:46 am
Forum: XML Schemas
Topic: Receiving erro "Open quote is expected for attribute "name"
Replies: 4
Views: 32447

Re: Receiving erro "Open quote is expected for attribute "name"

Hello,

Apparently you have in your schema an unsupported type of quote(”) character. Simply open the Find/Replace dialog(Ctrl + F) and replace all ” characters with " and it should work fine afterwards.

Regards,
Adrian
by adrian
Tue May 11, 2010 10:29 am
Forum: Common Problems
Topic: ClassNotFoundExceptions on Snow Leopard
Replies: 2
Views: 1454

Re: ClassNotFoundExceptions on Snow Leopard

Hello, Unfortunately Oxygen 8.2 isn't supported in Snow Leopard. Apple made significant changes to the Java VM that broke the backwards compatibility. Snow Leopard is supported in Oxygen 9.3 or later so I'm afraid you need to upgrade. But, if you have purchased Oxygen v8.x with a maintenance pack th...
by adrian
Fri May 07, 2010 5:57 pm
Forum: Common Problems
Topic: How Can I write mathematical formulas in Oxygen (Docbook)
Replies: 1
Views: 2638

Re: How Can I write mathematical formulas in Oxygen (Docbook)

Hello, Try File -> New File -> from Template -> Docbook 5 - Article with MathML The template contains an example formula. You can edit it by double clicking it. But formula editing is XML centric rather than visual. If you want visual editing you will also need MathFlow, a commercial application spe...
by adrian
Fri May 07, 2010 2:06 pm
Forum: Common Problems
Topic: File Type Associations
Replies: 2
Views: 1891

Re: File Type Associations

Hello, To have a single running instance of Oxygen you should have associated XML files with the script 'oxygen'(no extension) instead of 'oxygen.sh'. 'oxygen.sh' explicitly starts with multiple instances enabled. If you want to keep the association with 'oxygen.sh' you can disable this behaviour by...
by adrian
Thu May 06, 2010 5:53 pm
Forum: Common Problems
Topic: Bizarre Issue entering license
Replies: 4
Views: 2718

Re: Bizarre Issue entering license

Hi, No, OpenJDK isn't supported. I know it was initiated by Sun as an open source version of their own JDK. But unfortunately they managed to break compatibility in OpenJDK with Sun's own Java SE. But, like I said, to simplify things and not worry about which JRE to get for what, just get the Linux ...
by adrian
Thu May 06, 2010 4:59 pm
Forum: Common Problems
Topic: Bizarre Issue entering license
Replies: 4
Views: 2718

Re: Bizarre Issue entering license

Hello, Did you install the 'All platforms' kit(oxygen.tar.gz)? If that's the case then you are probably running Oxygen with the OpenJDK JRE. You can either install a JRE from Sun and make it the default(first in PATH and JAVA_HOME): http://java.sun.com/javase/downloads/index.jsp Or the simpler appro...
by adrian
Tue May 04, 2010 12:55 pm
Forum: Common Problems
Topic: Default View in Oxygen11.2 standalone
Replies: 2
Views: 1387

Re: Default View in Oxygen11.2 standalone

Hello,

In the same option page(Options -> Preferences -> Editor -> Pages) there is a checkbox 'Allow Document Type specific page setting to override the general page settings'. Uncheck that option and it will use the page specified in the initial page table.

Regards,
Adrian
by adrian
Mon Apr 26, 2010 5:18 pm
Forum: Feature Request
Topic: Save to URL - REST Interface?
Replies: 10
Views: 6117

Re: Save to URL - REST Interface?

Hello,

The 'Save to URL' has always been used for saving files to FTP/WebDAV repositories.

Can you provide more details as to what you were expecting regarding the REST interface?

Regards,
Adrian
by adrian
Fri Apr 23, 2010 3:13 pm
Forum: General XML Questions
Topic: Please Help
Replies: 3
Views: 2886

Re: Please Help

Hello, You should have probably started with XSLT stylesheets but I had an XQuery Update lying around that can help you. All I had to do was to make small adjustments to the XPath to fit your case. process.xquery for $i in doc("input.xml")//item_template let $j := doc("newPrice.xml&qu...
by adrian
Fri Apr 23, 2010 2:46 pm
Forum: XSLT and FOP
Topic: Previous cousin of current element?
Replies: 2
Views: 3154

Re: Previous cousin of current element?

Hi,

Not sure exactly what you want to obtain from that stylesheet.

There's a more than decent XSLT tutorial here that could help you:
http://www.zvon.org/xxl/XSLTutorial/Boo ... tents.html

Regards,
Adrian
by adrian
Fri Apr 23, 2010 12:48 pm
Forum: Other Issues
Topic: Berkeley DBXML Xquery Problem
Replies: 1
Views: 1184

Re: Berkeley DBXML Xquery Problem

Hello,

It's possible that this is caused by the verbosity level from the Berkeley connection being set to DEBUG.
So the first thing to try is to edit the Berkeley connection and make sure that its verbosity level is set to ERROR.

Regards,
Adrian
by adrian
Thu Apr 22, 2010 2:16 pm
Forum: Common Problems
Topic: Geting Error Could not instantiate: ro.sync.db.nxd.berkeley
Replies: 5
Views: 2548

Re: Geting Error Could not instantiate: ro.sync.db.nxd.berkeley

Hello, If you are on Mac or Linux you have to manually set an environment variable to point to the native libraries(libdb*.so or libdb*.dylib) of DB XML. On Linux it is called LD_LIBRARY_PATH. e.g.: LD_LIBRARY_PATH=/path/to/dbxml-2.5.16/install/lib How to set an environment variable in Linux: https:...
by adrian
Wed Apr 21, 2010 2:25 pm
Forum: Other Issues
Topic: Xquery w/BDB Could not initialize class com.sleepycat.db.int
Replies: 1
Views: 2644

Re: Xquery w/BDB Could not initialize class com.sleepycat.db.int

Hello, Did you download dbxml-2.5.16.tar.gz, unpack it and successfully built it with 'sh buildall.sh' in the terminal? The next step is to add the path where the BDB XML native libraries(libdb*.dylib) are located to the environment variable DYLD_LIBRARY_PATH. e.g.: DYLD_LIBRARY_PATH=/path/to/dbxml-...
by adrian
Tue Apr 20, 2010 3:07 pm
Forum: Common Problems
Topic: Startup exceptions block whole IDE
Replies: 4
Views: 2415

Re: Startup exceptions block whole IDE

Hello,

This has been fixed but the fix is only available starting with v10.0.

Regards,
Adrian
by adrian
Tue Apr 20, 2010 10:19 am
Forum: Common Problems
Topic: Oxygen returning errors on Validation with no DTD or Schema
Replies: 1
Views: 972

Re: Oxygen returning errors on Validation with no DTD or Schema

Hello, By default if there is no schema declaration and no schema association Oxygen should only check for XML well-formed. However, Oxygen has a large number of Document Type Associations which replace and expand the Schema Associations from older versions of Oxygen. These associations can sometime...
by adrian
Tue Apr 20, 2010 9:55 am
Forum: Common Problems
Topic: Inserting whitespace special characters
Replies: 4
Views: 2715

Re: Inserting whitespace special characters

Hi, The patterns in the replace field are a limitation of the Java regular expression engine. By default it only supports groups in the replace string. But now that you mention it '\t' in the replace field should have worked. \t, \n, \r, \uXXXX, \xXX, \0->\9 have all been specifically implemented si...
by adrian
Mon Apr 19, 2010 5:17 pm
Forum: Common Problems
Topic: Inserting whitespace special characters
Replies: 4
Views: 2715

Re: Inserting whitespace special characters

Hello, If you right click in either the find or the replace text areas from the Find/Replace dialog you will get a contextual menu which has as its last two actions: 'Insert newline' and 'Insert tab' 'Insert newline' also has a shortcut: Ctrl+Enter Let me know if I misunderstood and that's not what ...