Dear Mr Shafie,
 
How can I prevent XMLmind from writing the DCMI namespace URI
(xmlns:dc=http://purl.org/dc/elements/1.1/) in my dc-elements? 
What determines in XMLmind that DCMI namespace URI are inserted?
 
If I open in Oxygen an xml-file that contains  the DCMI namespace URI in the
dc-elements I get the error message:
E [Xerces] Attribute "xmlns:dc" must be declared for element type
"dc:contributor".
 
I must admit, that I am a bit lost here. Should the dc-namespace be written
in the dc-elements or not? 
If I generate an xml-file with Arbortext  the DCMI namespace URI is *not*
written in the dc-elements.
 
In the dtd I have the root-element <Collection> with:

<!ELEMENT Collection (MetaData?, (Digest | MetaFrame | Facts | Feature )*)>
<!ATTLIST Collection 
CollectionDescription CDATA #FIXED "emnemics GreenCollection R2"
CollectionRights CDATA #FIXED "(c) emnemics ag switzerland, all rights on
structure reserved, www.emnemics.ch"
CollectionIdentifier CDATA #FIXED "02-gre-r2-nil0000"
xmlns:dc CDATA #FIXED "http://purl.org/dc/elements/1.1/";
xmlns:m CDATA #FIXED "http://www.w3.org/1998/Math/MathML";>

A dc-elements are the defined by:

<!ELEMENT dc:temporal (#PCDATA)>
<!ATTLIST dc:temporal
                                  type (01 | 02 | 03 | 04 | 05 | 06 | 07 |
08 | 09) #IMPLIED>


So should the DCMI namespace URI be written in our dc-Elements, or not?

As we start to load files into our cms, I fear that these minor(???)
differences will show up an might cause problems.

I know, that this question is more about dtd than about XMLmind, but you
might know a the :-)
 
Kindest regards
Thomas
 

Reply via email to