Flattening XSD schemas using oXygen

I have been impressed by oXygen's XSD schema 'Design' mode, which seamlessly expands the DITA 1.1 topic.xsd definition (contained in a copy of the official DITA xsd directory). However, when I attempt to use oXygen(12.1)'s 'Text' mode contextual schema flattening mechanism, it reports 'failed: unknown protocol: urn'. It appears that the Design mode can handle the 'urn' references, whereas the Text mode cannot. This I find surprising. It maybe that the Design mode has found the 'catalog.xml' file that is provided in the same directory as the 'topic.xsd' file (or it is somehow using oXygen's own catalog files to resolve the definitions using internal resources). Hopefully I have missed something obvious. Any suggestions of a way forward welcome. Best regards, Anthony. PS: I wish to flatten the DITA XSD schemas for later XSLT processing. -- -- ------------------------------------------------------------------------- Michael Anthony Smith, DeltaXML Ltd "Change control for XML" T: +44 1684 891992 E: anthony.smith@deltaxml.com http://www.deltaxml.com Registered in England 02528681 Reg. Office: Monsell House, WR8 0QN, UK

I managed to flatten the DITA 1.1 topic.xsd using oXygen's flatten shell-script, by first removing the catalog dependency. My guess is that oXygen's schema flattening script does not support catalogs (yet oXygen 13.0). Anthony. -- -- ------------------------------------------------------------------------- Michael Anthony Smith, DeltaXML Ltd "Change control for XML" T: +44 1684 891992 E: anthony.smith@deltaxml.com http://www.deltaxml.com Registered in England 02528681 Reg. Office: Monsell House, WR8 0QN, UK On 24/10/2011 15:35, Michael Anthony Smith wrote:
I have been impressed by oXygen's XSD schema 'Design' mode, which seamlessly expands the DITA 1.1 topic.xsd definition (contained in a copy of the official DITA xsd directory). However, when I attempt to use oXygen(12.1)'s 'Text' mode contextual schema flattening mechanism, it reports 'failed: unknown protocol: urn'. It appears that the Design mode can handle the 'urn' references, whereas the Text mode cannot. This I find surprising. It maybe that the Design mode has found the 'catalog.xml' file that is provided in the same directory as the 'topic.xsd' file (or it is somehow using oXygen's own catalog files to resolve the definitions using internal resources).
Hopefully I have missed something obvious. Any suggestions of a way forward welcome.
Best regards, Anthony.
PS: I wish to flatten the DITA XSD schemas for later XSLT processing.

Hi Michael, Thanks for the feedback. You are right, we'll try to fix this in Oxygen 13.2 in a couple of months. Regards, Radu Radu Coravu <oXygen/> XML Editor, Schema Editor and XSLT Editor/Debugger http://www.oxygenxml.com On 10/24/2011 8:29 PM, Michael Anthony Smith wrote:
I managed to flatten the DITA 1.1 topic.xsd using oXygen's flatten shell-script, by first removing the catalog dependency.
My guess is that oXygen's schema flattening script does not support catalogs (yet oXygen 13.0).
Anthony.
participants (2)
-
Michael Anthony Smith
-
Radu Coravu