hi,
i have xml files lack xml declaration. part of import process, though, xslt stylesheet adds 1 through standard xslt output (ie, omit-xml-declaration="no"). however, frame still decides unknown file type , forces me select "xml" in dialog box.
when run xml file through stylesheet manually (with processor), see declaration added. furthermore, externally-transformed file imports without hitch.
any ideas why declaration not recognized when added xslt during import process? more importantly, ideas how around this?
thanks,
russ
i have xml files lack xml declaration. part of import process, though, xslt stylesheet adds 1 through standard xslt output (ie, omit-xml-declaration="no"). however, frame still decides unknown file type , forces me select "xml" in dialog box.
when run xml file through stylesheet manually (with processor), see declaration added. furthermore, externally-transformed file imports without hitch.
any ideas why declaration not recognized when added xslt during import process? more importantly, ideas how around this?
thanks,
russ
hi russ,
frame (at least 7.2) strict beginning of xml file. space or line feed before xml declaration causes file type error. check xml file ascii editor (hmm..how access when using import stylesheet..).
quick tests (w/o import.xsl):
1. instance starts directly doctype declaration. frame complains there no xml decl , proposes might sgml. opens ok anyway
2. space/blank line before xml decl -> unknown file type
3. missing doctype causes frame "unable validate...." etc. still opens file
hard why happens, output controls in xsl (indents etc)?, must generate space or cr/lf before declaration
martti
frame (at least 7.2) strict beginning of xml file. space or line feed before xml declaration causes file type error. check xml file ascii editor (hmm..how access when using import stylesheet..).
quick tests (w/o import.xsl):
1. instance starts directly doctype declaration. frame complains there no xml decl , proposes might sgml. opens ok anyway
2. space/blank line before xml decl -> unknown file type
3. missing doctype causes frame "unable validate...." etc. still opens file
hard why happens, output controls in xsl (indents etc)?, must generate space or cr/lf before declaration
martti
More discussions in FrameMaker Structured
adobe
Comments
Post a Comment