"no <!DOCTYPE>, different namespace declarations, etc..." So a change from dtd to schema is only an option if one completely changes from dtd to Schema: all editors, full publication process, full conversion process, cms. This ist absolutely not an option for us.
> -----Urspr?ngliche Nachricht----- > Von: Hussein Shafie [mailto:hussein at xmlmind.com] > Gesendet: Montag, 16. November 2009 15:33 > An: Thomas Dumm > Cc: xmleditor-support at xmlmind.com > Betreff: Re: [XXE] When does XMLmind write the DCMI namespace URI? > > Thomas Dumm wrote: > > > > Not so good news...I would not say, that we make heavy use > of namespaces. > > Just in the MathML and in the DCMI. > > Sorry again for this limitation. But please understand that > we do not want to invest in DTDs. > > > > > Your first suggestion (change editor) would put us back to > square 1. I > > can try the automatic conversion, although I have no idea about > > unwanted side effects (dtd-invalid xml-data). So I have 3 questions > > (which have little to do with xmlmind): > > > > - What parameters do you recommnd for the "trang dtd input module > > > (http://www.thaiopensource.com/relaxng/trang-manual.html#dtd-input)"? > > This command line was used to convert the MathML DTD to RELAX > NG Compact Syntax. > > java -jar /usr/local/src/trang-20030619/trang.jar \ > -I dtd \ > -i xmlns=http://www.w3.org/1998/Math/MathML \ > -i xmlns:xlink=http://www.w3.org/1999/xlink \ > -i annotation-prefix=a \ > -O rnc \ > presentation-subset.dtd presentation-subset.rnc > > Choosing the right command-line arguments may be tricky (due > to use of namespaces in the DTD!) > > > > > - Will the XML-file still "look like now" (dtd-declaration and to > > on...) even if it is checked by the schema > > Yes, in terms of presentation on screen. *No*, in terms of > XML save file (no <!DOCTYPE>, different namespace declarations, etc). > > > > > - Do you recommend XML schema or RELAX NG? > > > > RELAX NG Compact Syntax. However, it's really a matter of > personal taste. > > Also note that validation against a W3C XML Schema is > slightly faster in XMLmind XML Editor. > > > >

