Hi,
I have configured a Data Source for xDB (from EMC, version
10.0.0) and added the following 4 JARs from the xDB lib/ dir, as
stated in the oXygen documentation:
xhive.jar
antlr-runtime.jar
icu4j.jar
google-collect.jar
I created a new connection and I can browse the xDB libaries
and open XML documents. If I modify a document and try to save
it, I receive an error dialog box saying: "DTD factory class
org.apache.xerces.impl.dv.dtd.DTDDVFactoryImpl does not extend
from DTDDVFactory." If I enable logging, I get the following:
180070 DEBUG [ AWT-EventQueue-1 ] ro.sync.io.z - setIsCanceled called true
180070 DEBUG [ class ro.sync.exml.editor.m.f ] ro.sync.io.z - hide()
180071 DEBUG [ class ro.sync.exml.editor.m.f ] ro.sync.exml.editor.m.f - java.io.IOException: DTD factory class org.apache.xerces.impl.dv.dtd.DTDDVFactoryImpl does not extend from DTDDVFactory.
java.io.IOException: DTD factory class org.apache.xerces.impl.dv.dtd.DTDDVFactoryImpl does not extend from DTDDVFactory.
at ro.sync.db.nxd.xhive.XHiveSession$_f.close(Unknown Source)
at sun.nio.cs.StreamEncoder.implClose(StreamEncoder.java:301)
at sun.nio.cs.StreamEncoder.close(StreamEncoder.java:130)
at java.io.OutputStreamWriter.close(OutputStreamWriter.java:216)
at java.io.FilterWriter.close(FilterWriter.java:87)
at java.io.BufferedWriter.close(BufferedWriter.java:248)
at ro.sync.exml.editor.gd.m(Unknown Source)
at ro.sync.exml.editor.gd.n(Unknown Source)
at ro.sync.exml.editor.ze.saveDocument(Unknown Source)
at ro.sync.exml.editor.m.f.chd(Unknown Source)
at ro.sync.exml.editor.m.f$1.actionPerformed(Unknown Source)
at ro.sync.ui.application.b.q$_b$1.tkh(Unknown Source)
at ro.sync.ui.application.q.run(Unknown Source)
Do you have any idea of what's wrong? A classpath problem?
Regards,
--
Florent Georges
http://fgeorges.org/
We are getting the following error when trying to Validate an fo file in Oxygen 11:
E [Xerces] cvc-complex-type.2.4.a: Invalid content was found starting with element 'axf:document-info'. One of '{"http://www.renderx.com/XSL/Extensions":meta-info, "http://www.renderx.com/XSL/Extensions":page-device, "http://www.w3.org/1999/XSL/Format":layout-master-set}' is expected.
<?xml version="1.0" encoding="UTF-8"?>
<fo:root xmlns:fo="http://www.w3.org/1999/XSL/Format"
xmlns:axf="http://www.antennahouse.com/names/XSL/Extensions" font-family="Arial">
<axf:document-info name="title" value="mytitle"/>
...
</fo:root>
It doesn't affect the final PDF output, but it would be nice to be able to validate.
Thanks,
Marc
Marc Wiener
Enterprise Content Management
Gartner
203-316-3525
mailto:marc.wiener@gartner.com<mailto:brian.anderson@gartner.com/omailto:brian.anderson@gartner.com>
________________________________
This e-mail message, including any attachments, is for the sole use of the person to whom it has been sent, and may contain information that is confidential or legally protected. If you are not the intended recipient or have received this message in error, you are not authorized to copy, distribute, or otherwise use this message or its attachments. Please notify the sender immediately by return e-mail and permanently delete this message and any attachments. Gartner makes no warranty that this e-mail is error or virus free.
How do you prevent the displaying of xml comments in Author mode?
For example, <!-- this is a comment that should not show up in Author mode -->. In the CSS you can set to hide the tag display for a comment, but you cannot hide the content of a comment. Both "comment { display: none; }" or "oxy|comment { display: none; }" are not working.
Thank you very much,
Plamen
[CONFIDENTIALITY AND PRIVACY NOTICE]
Information transmitted by this email is proprietary to Medtronic and is intended for use only by the individual or entity to which it is addressed, and may contain information that is private, privileged, confidential or exempt from disclosure under applicable law. If you are not the intended recipient or it appears that this mail has been forwarded to you without proper authority, you are notified that any use or dissemination of this information in any manner is strictly prohibited. In such cases, please delete this mail from your records.
To view this notice in other languages you can either select the following link or manually copy and paste the link into the address bar of a web browser: http://emaildisclaimer.medtronic.com
Hi Plamen,
Either go to the "Editor / Pages / Author" preferences page and uncheck
the "Show comments" checkbox or from the CSS declare the Oxygen
namespace in the beginning of the file like:
@namespace oxy url('http://www.oxygenxml.com/extensions/author');
and then override the display property using the "important!" flag like:
oxy|comment {
display:none !important;
}
Regards,
Radu
On 4/6/11 3:20 PM, Djambazov, Plamen wrote:
> Hello,
>
> Earlier today I believe I joined the mailing list, but may be I am not confirmed.
>
> Thank you for your help,
> Plamen
>
>
> -----Original Message-----
> From: oxygen-user-bounces(a)oxygenxml.com [mailto:oxygen-user-bounces@oxygenxml.com] On Behalf Of oxygen-user-owner(a)oxygenxml.com
> Sent: Wednesday, April 06, 2011 2:18 PM
> To: Djambazov, Plamen
> Subject: Hiding xml comments in Author mode
>
> You are not allowed to post to this mailing list, and your message has been automatically rejected. If you think that your messages are being rejected in error, contact the mailing list owner at oxygen-user-owner(a)oxygenxml.com.
>
>
> [CONFIDENTIALITY AND PRIVACY NOTICE]
>
> Information transmitted by this email is proprietary to Medtronic and is intended for use only by the individual or entity to which it is addressed, and may contain information that is private, privileged, confidential or exempt from disclosure under applicable law. If you are not the intended recipient or it appears that this mail has been forwarded to you without proper authority, you are notified that any use or dissemination of this information in any manner is strictly prohibited. In such cases, please delete this mail from your records.
>
> To view this notice in other languages you can either select the following link or manually copy and paste the link into the address bar of a web browser: http://emaildisclaimer.medtronic.com
Lee, David wrote:
Hi,
> Is there any way to pass document nodes directly (not by name)
> to XQuery within Oxygen ?
oXygen uses (AFAIK) XCC in order to connect to MarkLogic. And
XCC supports only (AFAIK) strings for query parameters (a.k.a.
external variables).
The usual trick is either: 1/ to pass a string with the lexical
representation of the document and use xdmp:unquote(), or 2/ to
pass the URI of the document to open and use doc().
Regards,
--
Florent Georges
http://fgeorges.org/