Nguyen, Trinh M (PIP-San Diego) wrote:
> 
>       I have been using XMLMind editor (Standard edition) on Linux for a
> few days and I have a few questions I hope you can help me with:
> 
> 1)  In my xml file, I specify the dtd file to use and if I put a path
> for DTD file that contains ?~? for home directory (e.g. <!DOCTYPE Widget
> SYSTEM ?~/DTD/project1.dtd?>), XMLMind doesn?t recognize and expand the
> ?~? correctly. It seems to always concatenate the path of where my xml
> file is with this DTD path. Could you let me know what I should do to
> make XMLMind recognizing and expanding ?~??

'~' is a shortcut which is understood by Unix shells as being the
equivalent of $HOME. Out of this context, ?~/DTD/project1.dtd? cannot
really be considered as being a valid filename.



> 2)  I also have a need to be able to browse for a DTD file if the one
> listed in the xml file can?t be found. Do you know how I can browse for
> a dtd file?

XMLmind XML Editor has not be designed to allow that[*].

XMLmind XML Editor has been designed to allow non-technical persons to
author complex documents (prose), in a production environment.

XMLmind XML Editor uses ``configurations'' to implement that.

First of all, a configuration teaches XXE to recognize documents
belonging to a given type.

After that, among many other things, a configuration may be used to
automatically associate a schema to an XML document having no
<!DOCTYPE>, no xsi:schemaLocations, etc.

Part of the configuration, you'll often find an XML catalog which, for
example, may be used to map the public ID of a DTD to a local copy, no
matter what is found in system ID (e.g. "yyy" in '<!DOCTYPE root PUBLIC
"xxx" "yyy">').

See http://www.xmlmind.com/xmleditor/_distrib/doc/configure/configure.html



> 3)  In my application, sometimes I need to indent quite a lot so the
> lines might be indented far into the right hand side. Once this happens,
> the comments for those lines are wrapped around and if a line has an
> Attribute, its value is also cut off short so you can not see the whole
> ID. It seems like there is some invisible margin on the right side of
> the window that causes the Attribute and Comments to be cut off or
> wrapped around. Do you know if this is a known bug?

I guess you are using the tree view. I'm not 100% sure to understand
but, no, there is no bug here.

In the case of a text node, lines are always wrapped.
- For an element having xml:space="preserve", we use character wrap.
- For other elements, we use word wrap.
Why? Simply because we don't like endless horizontal scroll bars.

In the case of an attribute value, what you see is just a *non-editable*
*view* of the attributes of an element. The real attribute editor is the
"Attributes Tool" found at the left of the main window.

But you are right: we should wrap long attribute values here too.



> Does it get fixed in the Professional Edition?



---
[*] The words "XML Editor" in the product name do not imply that
products such as XMLSpy, Oxygen or Stylus Studio are our competitors.



Reply via email to