Hussein Shafie | 2 Aug 2005 11:35
Picon

Re: checking of xs:pattern value

john.m.dlugosz <at> kodak.com wrote:
> How do you put a character ordinal number in the regular expression?  I
> tried [#x20-#xfe] and [&#x20;-&#xfe] and your validator complains that the
> end of the range is not greater than the start.  [ -~] works fine.
> 

[&#x20;-&#xfe;] works fine for me. May be you have just forgotten a ';'?

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

Hussein Shafie | 2 Aug 2005 12:02
Picon

Re: conversion problems from docbook-> anything

Gérard Vidal wrote:
> I have installed the latest version with no problem. I tried to test 
> functionnalities and it is impossible to convert docbook article to
> anything (html or pdf). The error message is : "L'exécution de la
> commande a été interrompue par l'utilisateur".
> 

[I assume that you have not clicked on the "Cancel" button of the
``Execute Process Command'' dialog box]

I *cannot* reproduce this problem with, say,
<XXE_install_dir>/doc/user/userguide.xml.

Please try to convert a small document to HTML or to PDF. If it works
with a small document and it does not work with a large one (or one with
many images), then this is almost certainly an out of memory error.

See http://www.xmlmind.com/xmleditor/user_faq.html#outofmemory2 for an
easy workaround.

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

Hussein Shafie | 2 Aug 2005 12:25
Picon

Re: Inserting Hyperlinks

Ken Doran wrote:
> I'm authoring a Docbook modular document (with chapters) and am trying
> to insert hyperlinks.  I'm trying to link not to websites (URLs), but
> rather to files residing on the end-user's PC.  I've tried the steps for
> creating hyperlinks that Hussein suggested to Karen, but without
> success.  I'm using V2.11 (Standard Edition).
> 
> I created a "ulink" element as described by Hussein.  However, "href"
> does not appear in the list of attributes for ulink.  So, I added href
> as an attribute and assigned it a value (in my case, the name of a file
> in my XXE folder).  

You did that using a editor other than XXE (e.g. a text editor) because,
in normal editing mode, XXE cannot be used to add alien attributes such
as "href" to an element.

> Once my Docbook document was converted to HTML, I
> clicked on the link in the resulting HTML page, but it went nowhere. 
> So, I went back into XXE and noticed that my XML was invalid.  The
> following errors were cited:
> 
> element has no attribute "href" [cvc-complex-type.3]
> required attribute "url" is missing [cvc-complex-type.4]
>
> My understanding is that ulink elements are employed in Docbook to
> create href's in HTML files.  Further, that local files as well as URLs
> may be referenced.  What am I doing wrong?
> 
> On the other hand, if I specify the "url" attribute instead of the href
> attribute, I'm able to create good links to other documents (chapters),
(Continue reading)

Hussein Shafie | 2 Aug 2005 12:41
Picon

Re: Testing Url exist

Tongue, Steve wrote:
> Hoping someone here may be able to help me.
> 
> I'm trying to see if a file exists in my subversion repository before trying
> to create a new file and see that there is a java command but I can't seem
> to get it to work. I'm not a java user so would be grateful for any help.
> 
> The command I've tried is
> 
> <command name="urltest">
>   <macro>
>       <sequence>
> 
>        <choice>
>                <sequence>
>                     <test xmlns:url="java:java.net.URL
> "expression="url:exists('http://www.xmlmind.com/xmleditor/index.html') =
> true" />
>                     <command name="alert" parameter="Found"/>
>                </sequence>
>                <sequence>
>                  <test xmlns:sys="java:java.lang.System"
> expression="sys:exists('http://www.xmlmind.com/xmleditor/index.html') =
> false" /> 
>                     <command name="alert" parameter="Doesn't exists"/>
>                </sequence>
> 
> 
>         </choice>
>       </sequence>
(Continue reading)

Hussein Shafie | 2 Aug 2005 16:04
Picon

Re: How to convert non-latin file using FOP plugin?

Nickolay Pakoulin wrote:
> I have a docbook file with some Cyrillics characters.  When I convert
> it  to PDF using XMLEditor all cyrillics is presented as '#' in
> generated  pdf.  The intermediate __doc.fo file preserves cyrillics, but
> it is lost  during fo->pdf transformation.
> 
> I know how to solve the problem in standalone FOP: by specifying custom 
> fonts in configuration files.  I failed to find any ways to configure
> FOP  plugin for XML Editor, maybe I am missing something?

FOP can be configured by passing it parameters.

* Edit <XXE_install_dir>/addon/config/docbook/xslMenu.incl.

* Go to command docb.toPS.

* The invocation of FOP looks like this:

---
	<processFO processor="FOP" file="__doc.fo" to="__doc.%0">
	  <parameter name="renderer">%0</parameter>
	  <parameterGroup name="docb.toPS.FOPParameters" />
	</processFO>
---

* You can either:

** directly add one or more parameters after
---
<parameter name="renderer">%0</parameter>
(Continue reading)

Hussein Shafie | 2 Aug 2005 13:08
Picon

Re: XBRL support

Allyson Ugarte wrote:
> Can I use your XMLMind with XBRL schema?
> 

Short question, long answer:

* XMLmind XML Editor Professional Edition can be used to create
documents conforming to any W3C XML Schema, including XBRL.

* But, XXE is not bundled with a configuration for XBRL. You need to
create such configuration yourself.

This can take 5 minutes or several days of work depending on the degree
of comfort you expect from XXE. See
http://www.xmlmind.com/xmleditor/_distrib/doc/configure/ch02.html

* Free XMLmind XML Editor Standard Edition is identical to Professional
Edition except that we have added (artificial) restrictions to it:

Excerpt of http://www.xmlmind.com/xmleditor/stdedition.html:
--------------------------------------------------------------------------
Standard Edition has been artificially restricted in its support of W3C
XML Schema and RELAX NG.

XMLmind XML Editor Standard Edition cannot be used to create or edit a
document conforming to a W3C XML Schema or to a RELAX NG schema, unless
the root element of the document has a namespace, and this namespace is:

    * http://www.w3.org/2001/XMLSchema,
    * or http://relaxng.org/ns/structure/1.0,
(Continue reading)

Sergey Skvortsov | 2 Aug 2005 12:54
Picon
Favicon
Gravatar

Re: docbook 4.4

Hussein Shafie wrote:
> 
>>Will next release of XXE support docbook 4.4?
> 
> When 4.4 will be the current XML version of DocBook.
> 
> See http://docbook.org/xml/index.html:
> 
> ``XML
> 
> DocBook XML 4.3 is the current XML version of DocBook. There are no
> official XML versions of DocBook prior to V4.0.''
> 
> ----
> PS: Here at XMLmind, we do not follow the work done on DocBook by the
> Technical Committee. May be there is a mistake on the docbook.org web
> site and 4.4 is already the current XML version of DocBook. In such
> case, just tell us.

I think "http://docbook.org/xml/index.html" is out of date a bit.

In "http://www.oasis-open.org/docbook/specs/" the latest Committee Draft is
4.4. Page "docbook-errata.html" is also referred to 4.4.

--

-- 
Sergey Skvortsov
mailto: skv <at> protey.ru

--
XMLmind XML Editor Support List
(Continue reading)

Hussein Shafie | 2 Aug 2005 13:38
Picon

Re: docbook + tex -> pdf

Luke Skelly wrote:
> I'm trying to use tex files with docbook.  I'm using the
> texmathtoimg.bat  script that was suggested in an earlier post.  The
> result has been  generally very good.  The editor automatically converts
> the tex to a png  and displays it.  Converting to html also works just
> fine.  The problem I  have is with converting to pdf.  The tex files are
> converted to pdfs, but  then the following error comes up for every file:
> 
> FOP: INFO: [4]
> FOP: ERROR: Could not load external SVG: character not allowed
> FOP: ERROR: Error while creating area : No ImageReader for this type of 
> image
> (file:/C:/DOCUME~1/skelly/LOCALS~1/Temp/xxe18366/resources/matrix_form.pdf)
> 

This seems to be a bug in FOP.

> The resulting pdf simply fails to include the images.  I tried changing 
> the customize.xxe file so that it would create png files, but the 
> converter still looks for pdfs.
> 
> I'm currently using v2.11 Professional with most of the plugins.
> 
> Any suggestions are appreciated.

[1] Edit <XXE_install_dir>/addon/config/docbook/xslMenu.incl using a
text editor.

[2] In command "docb.toPS" (also used for PDF), delete these lines:
---
(Continue reading)

Hussein Shafie | 2 Aug 2005 13:52
Picon

Re: DOCBOOK Menu Item no longer works in Custom configuration

leslie.chapman <at> teradyne.com wrote:
> 
> I have created a custom XXE configuration and when using the custom
> configuration the DOCBOOK menu is not available.  It is still visable,
> however all items in the menu are "greyed-out".
> 
> What do I need to do to fix the DOCBOOK menu while using my custom
> configuration?

I need to read your custom configuration file in order to be able to
help you. Do not hesitate to send it to me (mailto:hussein <at> pixware.fr).

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

Hussein Shafie | 2 Aug 2005 16:20
Picon

Re: "Open With" Bug in XMLmind V2.10

We did not forget to investigate on this problem.

The fact is that our installer (InnoSetup configured using a very simple
script of our own) does not add entries to the registry of MSWindows.

That is, to my knowledge, it is *not* our installer which added:

---
My Computer\HKEY_CLASSES_ROOT\Applications\xxe.exe\shell\open\command
(default) == "C:\Program Files\XMLmind_XML_Editor\xxe.exe" "%1"
---

Otherwise, it would have been extremely simple to change this into:

---
My Computer\HKEY_CLASSES_ROOT\Applications\xxe.exe\shell\open\command
(default) == "C:\Program Files\XMLmind_XML_Editor\bin\xxe.exe" "%1"
---

Ken Doran wrote:
> This bug still exists in V2.11 SE.
> 
> 
> Hussein Shafie wrote:
>>leslie.chapman <at> teradyne.com wrote:
>>  
>>>I just installed the latest XMLmind XML Editor Standard Edition V2.10
>>>and think I have found a bug in the way that the registry is set up.
>>> This bug effectively disables the Windows "Open With" capability for XXE.
>>>
(Continue reading)


Gmane