<html>
  <head>
    <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
  </head>
  <body>
    <p>Hi Frank,</p>
    <p><br>
    </p>
    <p>One way to check if an attribute is necessary is to see if it's
      already defined with that certain value in the associated DTDs.</p>
    <p>If you open the DITA concept for example in Oxygen in the Text
      mode and place the caret inside the <concept...> tag, then
      remove the attribute, look in the "Attributes" view, if that
      specific attribute still appears there with the value grayed out,
      this means that it's already defined with that value in the
      associated DTDs and it's not necessary to define it in the XML
      instance.</p>
    <p><br>
    </p>
    <p>In your case with "xmlns:ditaarch" which is a prefix namespace
      mapping declaration it is useless if:</p>
    <p><br>
    </p>
    <p>1) It's already declared in the DTDs (which it is).</p>
    <p>2) It's not used anywhere in the XML document (and it isn't,
      there is no "ditaarch:abc='def'" attribute in the XML document).</p>
    <p><br>
    </p>
    <p>So in your case the prefix namespace declaration is useless in
      both cases.<br>
    </p>
    <p><br>
    </p>
    <p>Regards,</p>
    <p>Radu</p>
    <pre class="moz-signature" cols="72">Radu Coravu
Oxygen XML Editor</pre>
    <p></p>
    <p><br>
    </p>
    <div class="moz-cite-prefix">On 3/22/23 16:38, Frank Dissinger
      wrote:<br>
    </div>
    <blockquote type="cite"
      cite="mid:28fc6573-cb3f-c380-61d2-122625f15634@cgs-oris.com">
      <meta http-equiv="content-type" content="text/html; charset=UTF-8">
      <p>Hi all,</p>
      <p><br>
      </p>
      <p>I am cleaning up DITA files created with FrameMaker. FrameMaker
        has added a lot of unnecessary attributes, for example.</p>
      <p><br>
      </p>
      <p>Among others, FM has added an <b>xmlns:ditaarch</b> attribute
        to every top-level dita element such as concept, task or
        reference. Example:<br>
      </p>
      <p><br>
      </p>
      <p><concept id="id187JBI00EHS" xml:lang="en-US" <b>xmlns:ditaarch=<a
            class="moz-txt-link-rfc2396E"
            href="http://dita.oasis-open.org/architecture/2005/"
            moz-do-not-send="true">"http://dita.oasis-open.org/architecture/2005/"</a></b>><br>
      </p>
      <p><br>
      </p>
      <p> Can I safely remove this attribute or is it required?</p>
      <p><br>
      </p>
      <p>Regards,</p>
      <p>Frank<br>
      </p>
      <div class="moz-signature">-- <br>
        <meta http-equiv="content-type" content="text/html;
          charset=UTF-8">
        <title></title>
        <div class="moz-signature">
          <style>div.signature {font-family: Verdana, sans-serif; font-size: 10pt; color: #7F8C8D; padding-top: 0.4em;}div.name {padding-bottom: 0.8em; padding-top: 0.8em}div.contact {padding-bottom: 0.8em;}p {margin: 0;}span.separator {border-top-style: dotted; border-top-width: 2px; padding-top: 0.6em;}a {color: inherit}</style>
          <div class="signature">
            <div class="name">
              <p><strong>Frank Dissinger</strong></p>
              <p>Documentation Manager</p>
              <p>....................................................................</p>
            </div>
            <div class="contact">
              <p><strong>CGS Publishing Technologies International GmbH</strong></p>
              <p><strong>Email </strong><a
                  href="mailto:frank.dissinger@cgs-oris.com"
                  target="_blank" class="moz-txt-link-freetext"
                  moz-do-not-send="true">frank.dissinger@cgs-oris.com</a>
                | <strong>Web</strong> <a
                  href="http://www.cgs-oris.com/" target="_blank"
                  moz-do-not-send="true">www.cgs-oris.com</a></p>
              <p><strong>Address</strong> Kettelerstr. 24 | D-63512
                Hainburg | Germany</p>
              <p><strong>Phone</strong> +49 6182 9626-27 | <strong>Fax</strong>
                +49 6182 9626-99</p>
              <p><strong>Commercial register</strong> Offenbach, HRB no.
                21495</p>
              <p><strong>Managing directors</strong> Bernd Rückert,
                Christoph Thommessen</p>
              <p><br>
              </p>
              <a href="https://www.cgs-oris.com/signatur"
                moz-do-not-send="true"><img
                  alt="https://www.cgs-oris.com/Signatur.png"
                  longdesc="https://www.cgs-oris.com/signatur"
                  src="https://www.cgs-oris.com/Signatur.png"
                  moz-do-not-send="true" width="394" height="200"></a> </div>
          </div>
        </div>
      </div>
      <br>
      <fieldset class="moz-mime-attachment-header"></fieldset>
      <pre class="moz-quote-pre" wrap="">_______________________________________________
oXygen-user mailing list
<a class="moz-txt-link-abbreviated" href="mailto:oXygen-user@oxygenxml.com">oXygen-user@oxygenxml.com</a>
<a class="moz-txt-link-freetext" href="https://www.oxygenxml.com/mailman/listinfo/oxygen-user">https://www.oxygenxml.com/mailman/listinfo/oxygen-user</a>
</pre>
    </blockquote>
    <pre class="moz-signature" cols="72">
</pre>
  </body>
</html>