Is shemaType="application/xml-dtd" supported?

Issues related with the oNVDL implementation of NVDL.
fchyq
Posts: 3
Joined: Mon May 21, 2007 10:02 am

Is shemaType="application/xml-dtd" supported?

Post by fchyq »

Is shemaType="application/xml-dtd" supported?
george
Site Admin
Posts: 2095
Joined: Thu Jan 09, 2003 2:58 pm

Post by george »

Hi,

oNVDL supports currently XML Schema, Relax NG and Schematron.
We will consider adding support for DTD validation.

Best Regards,
George
George Cristian Bina
jelovirt
Posts: 84
Joined: Tue Oct 11, 2005 9:17 am
Location: Helsinki, Finland
Contact:

Re: Is shemaType="application/xml-dtd" supported?

Post by jelovirt »

Any news on this for future releases?
george
Site Admin
Posts: 2095
Joined: Thu Jan 09, 2003 2:58 pm

Re: Is shemaType="application/xml-dtd" supported?

Post by george »

Hi,

James Clark restarted the work on Jing [1]. I merged the NVDL support from oNVDL into the new Jing code. The best approach further is to log this as an issue on the new Jing issue tracker [2].

[1] http://code.google.com/p/jing-trang/
[2] http://code.google.com/p/jing-trang/issues/list

Regards,
George
George Cristian Bina
toby
Posts: 6
Joined: Thu Mar 19, 2009 3:37 pm
Location: Tübingen, Germany
Contact:

Re: Is shemaType="application/xml-dtd" supported?

Post by toby »

This is still not supported in current oXygen 18.1 / Jing, isn't it?
george
Site Admin
Posts: 2095
Joined: Thu Jan 09, 2003 2:58 pm

Re: Is shemaType="application/xml-dtd" supported?

Post by george »

Yes, that is correct.
Note also that DTDs are not really namespace aware, so supporting DTDs may cause some confusion - imagine you direct anything in the XHTML namespace to be validated with the XHTML DTD, but if there is a prefix used then the DTD validation will fail and you do not have a way to tell in NVDL that you want that DTD validation only when the XHTML namespace is the default namespace... I think the simple workaround is to covert your DTD to Relax NG and use that from NVDL.

Best Regards,
George
George Cristian Bina
Post Reply