Exit
  • Global community
    • Language:
      • Deutsch
      • English
      • Español
      • Français
      • Português
  • 日本語コミュニティ
    Dedicated community for Japanese speakers
  • 한국 커뮤니티
    Dedicated community for Korean speakers
0

FM8 default structured application

New Here ,
Dec 08, 2008 Dec 08, 2008

Copy link to clipboard

Copied

I've just upgraded to FM8 from FM7.

Is there a method of setting the default application in Frame 8?

Because it appears that every time I open an XML file in Frame 8 I have to select the appropriate structured application, whereas in Frame 7 I did not have to do this. As the application was not recorded anywhere in the XML file I presume that a default application was saved somewhere in Frame 7's setup.

In theory I guess the DTD or schema declaration in the XML header could have been used to identify the structured application - but not in our case. An XSL transform - defined in the structapps file - needs to run to produce a version of the XML data which Frame can read, so the application has to be known before the stylesheet can be run.

Thanks
T
TOPICS
Structured

Views

454
Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Contributor ,
Dec 08, 2008 Dec 08, 2008

Copy link to clipboard

Copied

Hi Trevor,

There is no default XML application setting in frame (never has been to my knowledge).

When frame opens XML instance, the only thing it looks is the root element name. This is compared to DOCTYPE values in structapps file.

If only one application match is found, XML gets parsed (the public declarations in application are passed to xerces instead of normal catalog support) and fed to frame through corresponding rw-rules.

If more than one doctype matches, frame asks which application to use.

Nasty feature..especially in applications using same dtd/schema and needing multiple page sizes..frame keeps asking application all the time.

During XML write, the writer rule does the same thing..writing public identifier (and system, too), otherwise the external parser would not be able to resolve the dtd/schema location.

BR, Martti

Votes

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
New Here ,
Dec 08, 2008 Dec 08, 2008

Copy link to clipboard

Copied

LATEST
Thank you so much; that explains exactly what I am seeing and tells me exactly how I can fix it. If only every question was solved so easily!

Cheers
T

Votes

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines