how to track down FOP error

F5 Check ditamap – no errors or warnings found; encouraging, but when I generate a .pdf from the ditamap in question I get a FOP error about a missing graphic.

 

[FOP ERROR] Unable to obtain stream from system identifier 'file:/C:/Users/a548040/AppData/Local/Temp/xxe2737135289091161947_d/???'

[FOP ERROR] The Source that was returned from URI resolution didn't contain an InputStream for URI: ???

[FOP ERROR] Image not found. URI: ???. (See position 103:788)

 

The final message is still “command execution has succeeded”, so I’m wondering if there is any way to see which .dita file is throwing the problem.

 

We can push this question forward to next week if I’m over my quota …

 

Niels Grundtvig Nielsen

Technical Author T&P

you know what you’re talking about – I can help you say it

 



Atos Worldline SA/NV - Chaussee de Haecht 1442 Haachtsesteenweg
- 1130 Brussels - Belgium
RPM-RPR Bruxelles-Brussel - TVA-BTW BE 0418.547.872
Bankrekening-Compte Bancaire-Bank Account 310-0269424-44
BIC BBRUBEBB - IBAN BE55 3100 2694 2444

"The information contained in this e-mail and any attachment there to be confidential and may contain information which is protected by intellectual property rights.
This information is intended for the exclusive use of the recipient(s) named above.
This e-mail does not constitute any binding relationship or offer toward any of the addressees.
If you are not one of the addressees , one of their employees or a proxy holder entitled to hand over this message to the addressee(s), any use of the information contained herein (e.g. reproduction, divulgation, communication or distribution,...) is prohibited.
If you have received this message in error, please notify the sender and destroy it immediately after.
The integrity and security of this message cannot be guaranteed and it may be subject to data corruption, interception and unauthorized amendment, for which we accept no liability."

--
XMLmind XML Editor Support List
xmleditor-support <at> xmlmind.com
http://www.xmlmind.com/mailman/listinfo/xmleditor-support
Hussein Shafie | 5 Mar 09:56 2015

Re: How to prolong my trial period?

Michael M. wrote:
> I used XMLMind, but evolution period has expired.
> We paid license and will get soon. How can I use trial version again ?

I'm sorry but this is technically not possible. We simply have no way to 
do prolong the evaluation period for a given copy of XMLmind XML Editor 
Evaluation Edition.

Three workarounds though:

1) If you have already installed XMLmind XML Editor Evaluation Edition 
v6.2 (latest version), then a simple solution is to install another copy 
on a different machine.

2) If you have already installed XMLmind XML Editor Evaluation Edition 
v6.2 (latest version), then another solution is to uninstall it and then 
re-install it on the same machine, but this time using a *different* 
*user* *account*.

3) If you have installed a version of XMLmind XML Editor Evaluation 
Edition *older* than v6.2, then upgrade your Evaluation Edition to v6.2 
(latest version). Doing this automatically resets your evaluation time 
to 30 days.

--
XMLmind XML Editor Support List
xmleditor-support <at> xmlmind.com
http://www.xmlmind.com/mailman/listinfo/xmleditor-support

Niels Grundtvig Nielsen | 4 Mar 15:00 2015
Picon

search and replace with conrefs

document tidily prepared with the string $product instead of the product name … but now the time has come to update it, I realise I'll need to replace $product with the conref. Can I do this within XML Mind, or is it easier to do it with an external editor? Thanks in advance for best practice tips, which I shall make a note of for next time.

--
XMLmind XML Editor Support List
xmleditor-support <at> xmlmind.com
http://www.xmlmind.com/mailman/listinfo/xmleditor-support
Hussein Shafie | 4 Mar 09:21 2015

Re: May I use my company's XMLmind XML Editor at home on my personal computer?

Michael H. wrote:
>
> In the office at LARGE_CORPORATION,  we use XMLMind in our Department within
> our DocBook tool chain (Windows environment). I would like to edit some
> of my office documents at my home  computer also but have no XMLMind
> license there (Macintosh environment). What options do I have to use
> XMLMind with a correct / official license at home?

Nothing special. Simply install XMLmind XML Editor on your Mac at home 
and use it. Our User License explicitly allows you to do this. See 
http://www.xmlmind.com/xmleditor/license_pro.html

----------
IMPORTANT: In practice, I hope that you have an old Mac with an old 
MacOSX, because LARGE_CORPORATION purchased XMLmind XML Editor on 2010. 
Therefore you only have access to old versions of our product.

We cannot guarantee that an old version of our product will run on a 
recent Mac/MacOSX. (Strangely enough, this is less a problem on 
Windows.) To maximize the chances that an old version runs on a recent 
Mac, please manually install Apple Java 1.6. You can download the 
corresponding .dmg distribution from this page:

http://support.apple.com/kb/dl1572

Moreover if your old XMLmind XML Editor .dmg distribution does not work, 
try with our .zip distribution (in the is case, please start XMLmind XML 
Editor with <XXE_install_dir>/bin/xxe).
----------

--
XMLmind XML Editor Support List
xmleditor-support <at> xmlmind.com
http://www.xmlmind.com/mailman/listinfo/xmleditor-support

Hussein Shafie | 2 Mar 09:48 2015

Re: Importing your XHTML 5 schema (and other schemas) into my own, main, W3C XML Schema

Robert L. wrote:
>
> It appears that I could work on an XML page that was generated by
> oXygen from my own schema, which imports other schemas and places XHTML5
> formatting elements between the schema derived elements. Is this
> correct?

Sure, if this is done cleverly. I mean: XHTML5 ``formatting elements'' 
should not be allowed in places where it does not make sense to.

We often do this approach for own own needs. For example, we have a 
simple XML schema which is used to describe our add-ons. This XML schema 
uses a subset of XHTML to document the add-on. See "XMLmind XML Editor 
Configuration Pack" - 
http://www.xmlmind.com/xmleditor/addons_doc.html#xxe_config_pack

> I want to use CSS to format my XML pages. Do you have an example of doing this.

Please download Evaluation Edition from this page:

http://www.xmlmind.com/xmleditor/download.shtml

In <XXE_install_dir>/addon/config/xhtml/css, docbook/css, docbook5/css, 
dita/css, you'll find the large CSS stylesheets we use to styles XHTML, 
DocBook and DITA documents.

Associating a document type to a CSS stylesheet is implemented by the 
means of the <css> configuration element. This element is found in a XXE 
configuration (.xxe) file.

Reference:

* The <css> configuration element
http://www.xmlmind.com/xmleditor/_distrib/doc/configure/css.html

* XMLmind XML Editor - Configuration and Deployment
http://www.xmlmind.com/xmleditor/_distrib/doc/configure/index.html

* XMLmind XML Editor - Support of Cascading Style Sheets (W3C CSS)
http://www.xmlmind.com/xmleditor/_distrib/doc/csssupport/index.html

--> Of course, if you don't want to write an XXE configuration file, 
it's always possible to add an <?xml-stylesheet?> standard processing 
instruction at the top of your document.

This has been done in the following demo document:

<XXE_install_dir>/demo/bugreport.xml

This file starts with:
---
<?xml version="1.0" encoding="ISO-8859-1"?>

<?xml-stylesheet type="text/css" href="bugreport/bugreport.css"?>

<?xml-stylesheet type="text/css" href="bugreport/xmldata.css" 
alternate="yes"?>

<bugReports 
xsi:schemaLocation="http://www.xmlmind.com/xmleditor/schema/bugreport 
bugreport/bugreport.xsd"
             xmlns="http://www.xmlmind.com/xmleditor/schema/bugreport"
             xmlns:ns="http://www.xmlmind.com/xmleditor/schema/bugreport"
             xmlns:html="http://www.w3.org/1999/xhtml">
...
---

Reference:

* Associating Style Sheets with XML documents 1.0 (Second Edition)
W3C Recommendation 28 October 2010
http://www.w3.org/TR/xml-stylesheet/

> I have modified your XHTML5 schema and my schema
> by adding a defaultOpenContent element to each with
> processContents="skip". Unfortunately, that did not work.

That's normal. <defaultOpenContent> is an W3C XML Schema *1.1* element. 
See http://www.w3.org/TR/xmlschema11-1/#declare-schema

XMLmind XML Editor only supports W3C XML Schema *1.0*. See 
http://www.xmlmind.com/xmleditor/features.html#wxs

We don't plan to support W3C XML Schema 1.1 in the future unless, of 
course, a major document type requires it.

> My goal was to have the elements from each schema ignore the elements of the other
> schema, but validate its own elements.

This should not be problem, but you'll have to use W3C XML Schema 1.0 
elements <any> and <anyAttribute> for that. See 
http://www.w3.org/TR/xmlschema-1/#Wildcards

--> Note that because XMLmind XML Editor is not comfortable to use in 
non-validating mode, we have a <validate> configuration element which 
can be described as:

---
OK, the W3C XML schema says: do not validate the elements belonging to 
namespace "foo", but we nevertheless want XMLmind XML Editor to work in 
strict validating mode for the elements belonging to namespace "foo".
---

We call this feature "Poor man's NVDL".

Reference:

* The  <validate> configuration element
http://www.xmlmind.com/xmleditor/_distrib/doc/configure/validate.html

* NVDL
http://www.nvdl.org/

--> If you prefer to continue working with W3C XML Schema 1.1, why not 
consider purchasing/continue to using oXygen? I mean, I don't get it:

1) The XHTML5 schema written by olivier <at> xmlmind.com you have is open 
source. Feel free to use it with any XML software you want and even, to 
redistribute it as is or modified.

If you prefer to use latest version of this XHTML5 schema (no longer 
open source; updated to conform to W3C Recommendation "HTML5 A 
vocabulary and associated APIs for HTML and XHTML (October 28, 2014)"), 
then no need to purchase XMLmind XML Editor just for that, we can give 
it away to you with our authorization/blessing to use it for your own 
needs in any XML software you want.

2) oXygen can style XML elements using CSS.

3) oXygen supports W3C XML Schema 1.1. (If their W3C XML Schema 1.1 
implementation comes from Saxon 9 as I suspect it, their W3C XML Schema 
1.1 support should be outstanding.)

4) oXygen even fully supports NVDL.

--
XMLmind XML Editor Support List
xmleditor-support <at> xmlmind.com
http://www.xmlmind.com/mailman/listinfo/xmleditor-support

Guk Aleksandra | 27 Feb 10:27 2015
Picon

problem with file associating.

Hello
    I upgraded XMLmind XML Editor to the 5.6.0 version.I know it is
    not supported, but may be you still could help me.
    There were file associating with *.dbk files. So if I used context
    menu to *.dbk file I had "Compile PDF/HTML"  menu items. But after
    updating these menu items were disappeared and associating don't
    work.
    May be you could suggest what I did wrong.
    Hope for your help.

--

-- 
Regards,,
Alex A. Guk
Technical Writer
phone.:(495)720-51-27
fax:(495)720-57-28
www.racurs.ru
mailto:guk <at> racurs.ru

--
XMLmind XML Editor Support List
xmleditor-support <at> xmlmind.com
http://www.xmlmind.com/mailman/listinfo/xmleditor-support

Hussein Shafie | 26 Feb 10:19 2015

Re: How to integrate an advanced text verification tool into XXE?

John S. wrote:
>
> One of your large users asked us if we could add our ADVANCED_TEXT_VERIFICATION_TOOL
> software to your XML Editor tool.  We have done integration into XML_EDITOR_1,
> XML_EDITOR_2 and XML_EDITOR_3, through our API.
>

I'm sorry but I cannot answer this question.

Some facts though:

--> It's probably possible to integrate any spell checker (I mean, a 
tool which checks the spelling of *words*, one word after the other) in 
XMLmind XML Editor.

XMLmind XML Editor already has 2 spell-checker plug-ins:

1) XMLmind Spell Checker, a 100% Java class library. See 
http://www.xmlmind.com/xmleditor/addons_doc.html#xsc_spellchecker

2) Hunspell Spell Checker. Written in C++. See 
http://www.xmlmind.com/xmleditor/addons_doc.html#hunspell_spellchecker

Adding a new spell checker plug-in is therefore possible by implementing 
the interfaces documented
below:

http://www.xmlmind.com/xmleditor/_distrib/doc/api/com/xmlmind/xmledit/spellchecker/package-summary.html 

--> I suspect ADVANCED_TEXT_VERIFICATION_TOOL to check much more than 
the spelling of words. If this is the case, it's probably not possible 
for a third-party programmer like you to integrate such tool into 
XMLmind XML Editor.

More precisely, this probably is not possible without requesting us, 
XMLmind, to enhance and generalize the interfaces implemented by a spell 
checker plug-in.

Another (obvious) solution would be to pay us, XMLmind, to do this 
integration.

--> XMLmind XML Editor Evaluation Edition can be used to evaluate 
whether it's possible to integrate ADVANCED_TEXT_VERIFICATION_TOOL into 
XMLmind XML Editor.

Download Evaluation Edition from this page:

http://www.xmlmind.com/xmleditor/download.shtml

Please do not forget to download the developer's documentation from this 
page:

http://www.xmlmind.com/xmleditor/dev_documentation.html

--
XMLmind XML Editor Support List
xmleditor-support <at> xmlmind.com
http://www.xmlmind.com/mailman/listinfo/xmleditor-support

Hussein Shafie | 23 Feb 17:28 2015

Re: Inserting a PI with 'attributes'

Fabián M. wrote:
>
> I'm trying to add a button to the toolBar that would insert the
> following PIs:
>
> <?dbfo orientation="90" ?>
> <?dbfo rotation-width="30mm" ?>
>
> I've put on my 0docbook5.xxe something like this (I hope the cut&paste
> worked fine...):
>
> <commandname="insertRotateTablePIs">
>
>      <macro undoable="true">
>
>        <sequence>
>
>          <commandname="insertNode"parameter="piBefore dbfo
> orientation='90'"/>
>
>          <commandname="insertNode"parameter="piAfter dbfo
> rotation-width='30mm'"/>
>
>        </sequence>
>
>      </macro>
>
>    </command>
>
>
> and what I'm getting on the XML when click on the button running that
> command is:
>
> <?target ?>
>
> I've tried also to putAttribute after the 1st insertNode, but it's not
> working either... so, before I go and write a custom java command to
> insert the above 2 PIs, is there any way this can be done with
> 'existing' XXE commands?

If you carefully read the documentation of command "insertNode", you'll 
notice that this command does not allow to insert the *contents* of a 
processing-instruction (e.g. orientation='90'), but just an empty 
processing-instruction having specified target (e.g <?dbfo?>). See 
http://www.xmlmind.com/xmleditor/_distrib/doc/commands/insertNode.html

(Command "insertNode" has been designed to be mainly used interactively.)

Instead, you need to use ubiquitous command "paste". See 
http://www.xmlmind.com/xmleditor/_distrib/doc/commands/paste.html

The following macro can be used in a DocBook 5 document after you click 
anywhere inside a CALS table entry or after if you explicitly select a 
CALS table row:

---
<command name="rotateCells">
   <macro>
     <sequence>
       <command name="selectNode"
                parameter="ancestorOrSelf[implicitElement]
                           {http://docbook.org/ns/docbook}entry
                           {http://docbook.org/ns/docbook}row" />
       <command name="selectNode" parameter="firstChild" />
       <command name="paste"
                parameter="before &lt;?xml version='1.0'?>
         &lt;ns:clipboard 
xmlns:ns='http://www.xmlmind.com/xmleditor/namespace/clipboard'>&lt;?dbfo
orientation='90'?>&lt;?dbfo 
rotation-width='30mm'?>&lt;/ns:clipboard>" />
     </sequence>
   </macro>
</command>

<binding>
   <keyPressed code="F4" />
   <command name="rotateCells" />
</binding>
---

--
XMLmind XML Editor Support List
xmleditor-support <at> xmlmind.com
http://www.xmlmind.com/mailman/listinfo/xmleditor-support
Jeff Hooker | 20 Feb 23:04 2015

XXE.close command

Hello Hussein,

 

Has the nature of the XXE.close command changed between 5.4.1 and 6.0.0? I can find no reference to any such thing in the “Changes” list, and the reference in the command guide is also unchanged.

The following macro works in 5.4.1 inasmuch as it saves, closes, and reopens the active document:

 

  <macro>
     
<sequence>
       
<set variable="url" expression="%d" plainString="true"/>
       
<command name="XXE.save" parameter="[ifNeeded]"/>       
        
<command name="XXE.close"/>
       
<get expression="$url"/>       
        
<command name="XXE.open" parameter="%_"/>
     
</sequence>
   
</macro>

 

In 6.0.0, however, it dies at the XXE.close command. Is there a reason for this?

 

Thanks,

Jeff.

 


--
XMLmind XML Editor Support List
xmleditor-support <at> xmlmind.com
http://www.xmlmind.com/mailman/listinfo/xmleditor-support
Hussein Shafie | 16 Feb 18:35 2015

Re: Footers and Headers

Tim Reichle wrote:
> i have a question about the layout from docbook. For example i want to declare footers and headers and those
should be on every page.
>
> I dont know how to do this.

I've never done this before. I've always used the default, automatic, 
``running'' headers and footers.

It seems that there is no way to do that without customizing by hand the 
DocBook XSL stylesheets:

http://www.sagehill.net/docbookxsl/PrintHeaders.html#PrintHeadersText

Anyway, XMLmind XSL Customizer, the helper application included in 
XMLmind XML Editor, cannot help you in doing this (reference: 
http://www.xmlmind.com/xmleditor/_distrib/doc/help/com.xmlmind.xslcustom.Customizer.html)

Sorry not to be able to help you.

--
XMLmind XML Editor Support List
xmleditor-support <at> xmlmind.com
http://www.xmlmind.com/mailman/listinfo/xmleditor-support

Guk Aleksandra | 13 Feb 13:23 2015
Picon

some problems with hot-keys.

Hello!
I use XMLmind XML Editor version  4.7.0 and now we're going to update
to the 5.6.0 version.
In the previous version I had a customized configuration with some
very useful features.
E.g., I used  "db5.toggleAttribute revisionflag added" to mark some
text and other parameter with the "db5.toggleAttribute" command.
But in 5.6.0 version I haven't command  like "db5.toggleAttribute".
What can I use instead of it?
It is important to mark and unmark text with one hotkey/button.
So I need add/change/remove attribute value. What should I use? 

--

-- 
Regards,,
Alex A. Guk
Technical Writer
phone.:(495)720-51-27
fax:(495)720-57-28
www.racurs.ru
mailto:guk <at> racurs.ru

--
XMLmind XML Editor Support List
xmleditor-support <at> xmlmind.com
http://www.xmlmind.com/mailman/listinfo/xmleditor-support


Gmane