Enable "prefer=public" in Author component
Posted: Mon Jun 23, 2014 12:30 pm
Hello,
In the options of Oxygen XML Editor desktop,in XML/XML catalogs, there is an option to specify whether the resolution of the DOCTYPE declarations should favor system or public identifiers.
With the same default dita framework loaded, with this option set to "system", a topic with the declaration cannot be validated because Xerces fails to find the DTD (it looks in the same directory as the opened file):
<!DOCTYPE dita PUBLIC "-//OASIS//DTD DITA Composite//EN" "ditabase.dtd">
However, it works if the option is set to "public".
In the Author component, I think I get a similar behaviour as when the option is set to "system". My topics, standard and specialized, don't validate if I don't include the full path of the DTD in the SYSTEM part of the declaration.
I have deployed the same custom DITA framework, with my specialized DTDs, the standard ones, and their catalogs, in Oxygen XML Editor desktop, and I get the same results as with the standard framework: with the "prefer" option set to public, both standard and specialized topics are valid. If set to system, they aren't.
Question: assuming this "prefer" option is the reason why the PUBLIC IDs of the topics don't resolve in the Author component, how can I set it? I have looked for it in the options export I have made from the Oxygen Editor desktop, I didn't find it.
Thanks!
NB: I have set @prefer=public on all my custom XML catalogs, declaring all mappings two times: as <uri> and as <public>.
In the options of Oxygen XML Editor desktop,in XML/XML catalogs, there is an option to specify whether the resolution of the DOCTYPE declarations should favor system or public identifiers.
With the same default dita framework loaded, with this option set to "system", a topic with the declaration cannot be validated because Xerces fails to find the DTD (it looks in the same directory as the opened file):
<!DOCTYPE dita PUBLIC "-//OASIS//DTD DITA Composite//EN" "ditabase.dtd">
However, it works if the option is set to "public".
In the Author component, I think I get a similar behaviour as when the option is set to "system". My topics, standard and specialized, don't validate if I don't include the full path of the DTD in the SYSTEM part of the declaration.
I have deployed the same custom DITA framework, with my specialized DTDs, the standard ones, and their catalogs, in Oxygen XML Editor desktop, and I get the same results as with the standard framework: with the "prefer" option set to public, both standard and specialized topics are valid. If set to system, they aren't.
Question: assuming this "prefer" option is the reason why the PUBLIC IDs of the topics don't resolve in the Author component, how can I set it? I have looked for it in the options export I have made from the Oxygen Editor desktop, I didn't find it.
Thanks!
NB: I have set @prefer=public on all my custom XML catalogs, declaring all mappings two times: as <uri> and as <public>.