On 3/31/25 15:02, Ingvi Stígsson wrote:

I am doing an evaluation on xmlmind with one of my user. So far this is mostly success. I am using XMLmind personal editon in the evaluation, but if we decide to use it we will buy the web edition.

There is a issue I need to find a solution on:

- When XMLmind saves the document it adds xmlns:ns=”http:// skema.althingi.is/skema” (and some more declaration) to the document, which already had xmlns="http://skema.althingi.is/skema"; . This makes some confusion  in other systems, which makes the document unusable later on. Is there any way to make XMLmind stop adding xmlns:ns=”http:// skema.althingi.is/skema” to the documents?


Sorry but the answer is no, as XMLmind XML Editor automatically declares all the namespaces found in the schema to which the document being edited is conforming. The prefixes used for these automatically declared namespaces are indeed "ns", "ns2", "ns3", etc.

The only thing you can do is to predeclare these namespaces with meaningful prefixes in all the document templates and documents instances you are editing with XMLmind XML Editor. This way, at least, you'll control the namespace prefixes being used.

Example:
---
<myroot xmlns="http://skema.althingi.is/skema";
        xmlns:alth="http://skema.althingi.is/skema";>
  ...
</myroot>
---

More generally, XMLmind XML Editor does not care very much about the physical contents of XML files. It's all about the logical contents. Therefore you may find other problems with our product if your other systems somewhat rely on the physical contents of XML files. This limitation is clearly marked (red cross) as a possible deal breaker in our "Features" page, https://www.xmlmind.com/xmleditor/features.html .

Sorry again for the disappointment.



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

Reply via email to