Powerd911 – Numéro #1 au Canada

PowerDesigner 10 models accessed via the the Web appear as XML instead of being displayed as diagrams.

Where the models are stored on a Web server, navigating to one in a browser appears to be converting it to XML.

Key Words: XM Format Web Browser Bin Format

Tip or Workaround
PowerDesigner can save a model in either of two formats as « native » formats. If, in a PDM for example, you look at the drop down list for « Save as type: » in the « Save as » dialog box, you see: Physical Data Model (xml) (*.pdm) Physical Data Model (bin) (*.pdm)

The « xml » format is readable XML text code representing the model’s metadata.

The « bin » format is just a compressed version of the XML data — all the rich metadata that comprises the model is still there when you open a PowerDesigner model that was saved in the ‘bin’ format.

Acccessing a file using a Web browser will open the target file with a « helper application » depending on what type of file it is determined to be. Therefore the save-format of the PowerDesigner model file matters. If the file format is PowerDesigner’s binary format, the Web browser will recognize that and launch PowerDesigner to open it. If the file format is PowerDesigner’s XML format, the Web browser will detect it is XML text data and will open it as text with a XML colored syntax.

 

Resolution
For PowerDesigner models to be automatically displayed as diagrams when accessing them using a Web broswer, save the models in the binary (« bin ») format. The Web browser will determine the file type is PowerDesigner’s and use PowerDesigner to display the model. If saved in PowerDesigner’s XML (« xml ») format, being text, a text tool will be used to display the content of the model.

Laisser un commentaire