nobili, philippe | 2 Jul 09:46 2015

Cannot load previously saved file

Dear M. Shafie,

 

We are facing a rather annoying  issue with XXE (6.3.0): we were able yesterday to save a document on a shared FTP drive from XXE, but when we try  to load this document again, we get the fatal error that follows:

 

Of course, we understand that something has to be fixed in the document… But we can’t open it to fix it. The document itself is valid, maybe it would be better – if at all possible – to empty the problematic attribute(s) rather than refusing to load the document entirely.

 

The current workaround: getting the document from FTP, fixing it in Emacs (or so), putting it back to FTP… Is not particularly convenient.

Many thanks,

Phil.

 

Philippe Nobili

Subsurface Imaging - Product Engineering

Tel: +33 16447 4090 | Mobile: +33 63756 6441

 

CGG,

27 avenue Carnot

Massy, 91341 – France

http://www.cgg.com

 

Please consider the environment before printing.

 

This email and any accompanying attachments are confidential. If you received this email by mistake, please delete
it from your system. Any review, disclosure, copying, distribution, or use of the email by others is strictly prohibited.


--
XMLmind XML Editor Support List
xmleditor-support <at> xmlmind.com
http://www.xmlmind.com/mailman/listinfo/xmleditor-support
Nicolai Andler | 1 Jul 14:03 2015
Picon

Fwd: /n in para of xml file (line length)

Hi

I have the XMLmind XML Editor Professional Edition 6.3.0 on a mac 10.10.3 Yosemite

this is rather urgent, as it causes chaos when parsing the xml files.

the para element has a line break
the line length in the para element is currently limited, but I need it unlimited (without a line break)
there is an 'invisible' line break that is not visible in the xml editor window ..I used a text editor and display hidden elements to see this 'grey bracket/ para break'
see pic below



I changed the xmlEditor preference (set from 80 to 1000 and untick) and did a 'save as' over a existing xml file
but the result is even worse as it is now adding new lines in the middle of the xml tags


see attached xml. file

please ..


Best regards,

Nicolai Andler

Mobile (.de) + 49 176 400 23 101




--
XMLmind XML Editor Support List
xmleditor-support <at> xmlmind.com
http://www.xmlmind.com/mailman/listinfo/xmleditor-support
Jeff Hooker | 26 Jun 03:59 2015

Track changes

Hello Hussein,

 

Before you throw up your hands and say “We’ve been through this!”, please give me just a few lines to present an idea to you.

 

I understand that you think Word-style track changes is unworkable in XMLmind for a number of reasons. Ok, in truth I’m not all that fond of Word-style change tracking either because of all the noise it adds to the authoring window.

 

However, your current “Compare Versions” feature already has all of the features that I’d like to see in “Track Changes”, except that it needs two different versions of the document to work. If data that you encoded in processing instructions at the bottom of the file segmented the changes made *by session* then you’d be able to compare the document against other versions of itself, and achieve a version of tracked changes that is actually more flexible and useful than Word-style tracked changes could ever be.

 

The fact that an author would need to pause to run a compare in order to see what he’d done is, frankly, a detail. The feature would nicely fill the differencing gap needed during active authoring.

 

Just my opinion.

 

Cheers,

Jeff.


--
XMLmind XML Editor Support List
xmleditor-support <at> xmlmind.com
http://www.xmlmind.com/mailman/listinfo/xmleditor-support
Hussein Shafie | 26 Jun 10:23 2015

Re: cannot unzip the .zip distribution of XMLmind XML Editor v6.3.1

S. wrote:
> Cannot unzip the .zip distribution of XMLmind XML Editor v6.3.1. See attached screenshot.

Thank you for taking the time to report this problem.

We'll remove all Thumbs.db and Thumbs.db:encryptable in the next release 
of XMLmind XML Editor.

Meanwhile, I suggest to either:

* Use a capable Zip utility and not Windows integrated Zip utility. The 
following free utilities will not choke on Thumbs.db and 
Thumbs.db:encryptable:

- 7-Zip http://www.7-zip.org/
- Info-ZIP http://www.info-zip.org/

OR

* Install the .tar.gz distribution.

OR

* Install one of the setup.exe distributions.

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

Hussein Shafie | 24 Jun 09:59 2015

Re: Rendering of replaceable with a role not working anymore in XXE 6.2+

Fabián M. wrote:
>
> we've written a customization for one of our customers which works fine
> on XXE5.9.0, XXE6.0.0 and XXE 6.1.0, but does not work as expected on
> XXE6.2.0, neither on XXE6.3.0
>
> This particular piece of the whole customization is a simple CSS rule,
> as follows:
>
>  >>> CSS EXCERPT BEGINS <<<
>
> replaceable[role=input],
> replaceable[role=number],
> replaceable[role=date],
> literallayout[role=textarea],
> itemizedlist[role=select],
> itemizedlist[role=select-down]
> {
>      display: inline-block;
>      width: 60px;
>      height: 60px;
>      border: 1px solid #000;
>      border-radius: 5px;
>      padding: 20px 5px 5px;
> }
>
> /* This one works */
> replaceable[role=check][conformance='1']
> {
>      content: image(url(ge-icn-checkbox-checked.png));
> }
>
> /* But this, and the following ones (and similar) do not */
> replaceable[role=input]
> {
>      background: #fff url(ge-icn-text-input.png) no-repeat top left;
> }
>
> replaceable[role=number]
> {
>      background: #fff url(ge-icn-number-input.png) no-repeat top left;
> }
>
> replaceable[role=date]
> {
>      background: #fff url(ge-icn-date.png) no-repeat top left;
> }
>
>  >>> CSS EXCERPT ENDS <<<
>
> Starting with XXE 6.2 should we write the above CSS customizations in a
> different way? I can include some screenshots if needed, or even the
> full CSS file, or whatever may be needed to help you reproduce this
> issue. Let me know, and thanks in advance for your help.
>

I would say that it worked by chance in versions of XXE older than 6.2.

Something like:

replaceable[role=input]
{
     background: #fff url(ge-icn-text-input.png) no-repeat top left;
}

has no content, whether normal content, generated content or replaced 
content. (CSS properties "background" and "background-image" do not 
specify a content.)

A more ``natural'' CSS rule would be:

replaceable[role=input]
{
     content: url(ge-icn-text-input.png);
     background-color: #fff;
}

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

Release of XMLmind XML Editor v6.3.1

XMLmind XML Editor Evaluation Edition v6.3.1 can be downloaded from
http://www.xmlmind.com/xmleditor/download.shtml

Professional Edition users, please upgrade using this form:
http://www.xmlmind.com/store/download.php

(The above form is usually accessed through
http://www.xmlmind.com/xmleditor/upgrade.html.)
    _____________________________________________

XMLmind XML Editor v6.3.1 (June 24, 2015)
-----------------------------------------

Highlights:

* Preliminary support for DocBook 5.1, which introduces new topic
   and assembly elements.

   This support is packaged as a new add-on called "DocBook v5.1
   configuration (Release Candidate)". This add-on is NOT included
   by default in XXE distributions. If you want to experiment with
   DocBook 5.1 assemblies and topics, please use menu item
   "Options|Install Add-ons" and select the add-on in order
   to download and install it.

   New resources related to DocBook 5.1:

    - New tutorial: DocBook Assemblies and Topics for the Impatient.

    - New documentation: XMLmind XML Editor - Support of
      DocBook 5.1 Assemblies.

    - New open source software: XMLmind Assembly Processor.

* Upgraded Apache Batik (SVG support) to version 1.8.
   Upgraded Apache FOP (PDF generator) to version 2.0.

* Several other enhancements (e.g. menu item "DocBook|Convert
   to Module") and a few bug fixes.
    _____________________________________________

More information in
http://www.xmlmind.com/xmleditor/changes.html

Links:

* DocBook Assemblies and Topics for the Impatient
http://www.xmlmind.com/tutorials.html

* XMLmind XML Editor - Support of DocBook 5.1 Assemblies
http://www.xmlmind.com/xmleditor/_distrib/doc/assembly/index.html

* XMLmind Assembly Processor
http://www.xmlmind.com/xmleditor/assembly.shtml

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

Hussein Shafie | 22 Jun 17:28 2015

Re: How can I use absolute pathnames for images?

Bill D. wrote:
>
> I am working with Attributes to use an absolute pathname for images, but the method seems a bit awkward.
>
> 1) Each time I modify the attributes of an image, the "Source destination" in the "Edit Attribute" popup
window defaults to the current folder.  Is there a way to configure this to refer to the last used folder instead?
>
> 2) For the "Destination location",  it seems that I have to either key in the full pathname, or cut & paste it
into the input box.  Is there a way to make it use the full pathname that's already entered into the "Source
destination" input box?
>

I'm sorry but I don't understand. If you want to use absolute pathnames 
for images, then you'll have to use the "Browse Files" button of the 
Attributes tool.  This "Browse Files" button displays a standard file 
chooser dialog box. No "Source destination", no "Destination location" 
here. I mean, please do *not* double-click on the image.

The standard file chooser dialog box of course remembers last visited 
directory.

See attached screenshot.

> 3) Also, is there a way to change the type of object for an image, such as changing a "figure" to a
"mediaobject" or vice-versa?

No. 1) Please select mediaobject. 2) Press Ctrl-C to copy it to the 
clipboard. 3) Select figure parent. 4) Press Ctrl-V to replace selected 
figure by the copied mediaobject.

These 4 steps can be automated by recording a macro (Tutorial: 
http://www.xmlmind.com/xmleditor/_tutorial/record_macro/index.html).

>
> 4) Is there a way to delete an image?  When I right click on an image, both the "Cut" and "Delete" choices are
greyed out.
>

When you click on an image, you select the imagedata element. This 
element cannot be deleted as a mediaobject/imageobject element has a 
required imagedata child element.

(Press Shift-F1 to learn about the content model of selected element. 
Other than this, the reference documentation of elements such as figure 
mediaobject, imageobject, imagedata is found here: 
http://www.docbook.org/tdg5/en/html/docbook.html)

Please 1) click on the image 2) use the node path bar to select 
"mediaobject" or "figure", that is, the topmost image container and 3) 
press Delete.

I'm sorry to confess it but XMLmind XML Editor is not intuitive to use. 
Unless you take the time to learn its basics (Tutorials here: 
http://www.xmlmind.com/xmleditor/tutorial.html), you'll loose your time 
with this tool.


--
XMLmind XML Editor Support List
xmleditor-support <at> xmlmind.com
http://www.xmlmind.com/mailman/listinfo/xmleditor-support
Arno Smit | 18 Jun 10:21 2015
Picon

Create a modular element from a selected flat element


Hello,
 
Just an Improvement request,

Example work flow:

While writing a Docbook book I insert a flat chapter after another chapter.
Somehow later, I decide I want to make this chapter modular.

Current situation:

1.      I have to create a new chapter from a template

2.      Copy past the flat chapter contents from the book to the new chapter file

3.      Replace the flat chapter by a reference to the new chapter file into the book again.

Request:

Make it possible (if not already) to create a modular chapter from a selected flat chapter element. The same applies to other elements that support modularity. Related to this, inserting a new chapter as a new referenced document is also a nice option.
 
Thanks
Arno,

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

Re: How can I use absolute pathnames for images?

Bill D. wrote:
>
> Is there a way to use absolute pathnames for images, rather than
> relative pathnames?

Sure but you'll have to use the "Attributes" tool for that.

The "Attributes" tool has a "Browse Files" button (folder icon + down 
arrow icon). This button is a "split button". If you click on the down 
arrow icon, you'll get a popup menu letting you choose "Absolute path" 
rather than "Relative path". (but please keep "URL" selected, do not 
select "filename".)

The choice made there persists during the whole editing session, but 
will be lost when you'll quit XXE.

More information in
http://www.xmlmind.com/xmleditor/_distrib/doc/help/attributes_form.html

> So far it appears that if you create an XML file in
> one folder, and insert images in it that reside in another folder, the
> pathnames that are generated are relative.

Yes. This allows to create a ``self-contained folder'' containing the 
document and all its resources.

> Then if the XML file is
> moved to a different folder, the editor is unable to find the images.

Not if you use "File|Save As". Try it and you'll see that the pathnames 
of the images are automatically updated.

We recommend to do this rather than use absolute pathnames for images.

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

Jeff Hooker | 12 Jun 06:50 2015

New Window feature

Hello Hussein,

 

When attempting to use the New Window feature, selecting File > Quit in any of the windows results in all windows closing and the application shutting down. I thought that this might be related to having XXE running in Single User Instance mode, so I disabled it, restarted XXE, and tried again with the exact same results. The guidance in the XXE Changes pages suggests that this is not expected behavior. I’m running 6.0 on Windows 8.1, but it performs the same way in CentOS 6.0. Is this a known issue or is my situation unique?

 

Regards,

Jeff.


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

Re: joinOrDeleteChar command removed?

Maik S. wrote:
>
> while reading the command documentation and adapting our XXE configuration i stumbled over the
"joinOrDeleteChar" command, which appears to be no longer part of XXE.
>
> If it is really so, then the documentation needs an update.

Yes, you are right. This is fixed now.

Command joinOrDeleteChar has been superseded by command 
deleteSelectionOrJoinBlockOrDeleteChar. See 
http://www.xmlmind.com/xmleditor/_distrib/doc/commands/deleteSelectionOrJoinBlockOrDeleteChar.html

That is, keystrokes Del and BackSpace are now bound to command 
deleteSelectionOrJoinBlockOrDeleteChar.

However for the "JoinBlock" alternative of this command to work 
properly, you must specify in your configuration what is a "splittable 
block". See 
http://www.xmlmind.com/xmleditor/_distrib/doc/commands/splittable_blocks_spec.html

In a nutshell, this is specified using a property called 
"CONFIGURATION_NAME blockList". XHTML example:

---
   <property name="$c blockList">
     {http://www.w3.org/1999/xhtml}p=paragraph
     {http://www.w3.org/1999/xhtml}h1
     {http://www.w3.org/1999/xhtml}h2
     {http://www.w3.org/1999/xhtml}h3
     {http://www.w3.org/1999/xhtml}h4
     {http://www.w3.org/1999/xhtml}h5
     {http://www.w3.org/1999/xhtml}h6
     {http://www.w3.org/1999/xhtml}li
     {http://www.w3.org/1999/xhtml}dt
     {http://www.w3.org/1999/xhtml}dd
   </property>
---

where variable "$c" is substituted with the name of the configuration 
including the definition of the property: "XHTML Strict", "XHTML 
Transitional", "XHTML 5.0", "XHTML 1.1".

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


Gmane