🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: adobe.framemaker.sgml
Article #711

Re: S-Frame 7.2 finds wrong application on XML read

#711
From: Martti_Poutanen
Date: Fri, 19 Sep 2008 05:58
17 lines
2187 bytes
Hi David,

Framemaker selects the XML application from structapps solely based on the root element name. After parsing/validation (that is performed by the embedded Xerces parser) frame compares the root element name to the Doctype-elements across the applications defined in structapps.

If only one match is found, frame does not ask the application, if more matches are found, frame asks which application to use (I skip the optional XSLT phase here..). Stupido thing is that frame makes no distinction between SGML and XML applications.

After this selection, frame feeds the parsed XML through rw-rules, picks up the template and creates the frame instance.

Probably (never tested myself) if only one application is defined, frame uses that even if the doctype element is not defined.

During write frame needs to know the application to use. It can be either set in the EDD or forced by user by setting the application before save.

DTD setting in application is used to "inform" Xerces where the dtd file is (frame saves the document to XML first through rw-rules and the invokes xerces to parse and validate the instance). RW rules can define whether doctype declaration in XML instance is of PUBLIC or SYSTEM type.

DTD setting together with PublicID settings in strucapps mimics the typical catalog support in "native" xml enviroments.

Martti
Technical Details
Message-ID: <59b685fe.0@webcrossing.la2eafNXanI>
Path: arc1-ca.pugleaf.net!g2news2.google.com!news2.google.com!border1.nntp.dca.giganews.com!border2.nntp.dca.giganews.com!nntp.giganews.com!newspeer1.nac.net!newsfeed01.sul.t-online.de!newsfeed00.sul.t-online.de!t-online.de!news.buerger.net!news4us.nl!webcrossing
References: <59b685fe.-1@webcrossing.la2eafNXanI>

Show Full Headers
Complete Article Headers
X-Google-Thread: fcc08,f4875a0918bb46d
X-Google-Attributes: gidfcc08,domainid0,public,usenet
X-Google-Language: ENGLISH,ASCII-7-bit
From: Martti_Poutanen@adobeforums.com
Newsgroups: adobe.framemaker.sgml
Subject: Re: S-Frame 7.2 finds wrong application on XML read
Message-ID: <59b685fe.0@webcrossing.la2eafNXanI>
Date: Thu, 18 Sep 2008 22:58:42 -0700
References: <59b685fe.-1@webcrossing.la2eafNXanI>
Lines: 16
MIME-Version: 1.0
Content-Type: text/plain; charset="ISO-8859-1"
Content-Transfer-Encoding: 8bit
Path: arc1-ca.pugleaf.net!g2news2.google.com!news2.google.com!border1.nntp.dca.giganews.com!border2.nntp.dca.giganews.com!nntp.giganews.com!newspeer1.nac.net!newsfeed01.sul.t-online.de!newsfeed00.sul.t-online.de!t-online.de!news.buerger.net!news4us.nl!webcrossing
X-Original-Lines: 31
X-Original-Bytes: 1999