FrameMaker FDK Problem

Fehler beim compilieren

Ich muss für FrameMaker ein paar neue Funktionen programmieren.<br /><br />Also ich hab mir das FrameDevelopmentKit heruntergeladen und installiert. Dann noch Microsoft Visual C++ Express Edition installiert.<br /><br />Nun will ich einfach die mitgelieferten Samples compilieren und gehe dabei auch wie in der Dokumentation beschrieben vor.<br /><br />Nun leider klappt es nicht und er gibt mir immer diese Fehlermeldung aus:<br /><br />c:\programme\adobe\fdk7.0\include\fdk_env.h(30) : fatal error: cannot open include file: 'windows.h': No such file or directory<br /><br /> <br /><br />Hier ist der Inhalt von der fdk_env.h File:<br /><br />/*<br /> * This file is used to map build environment defines to set of symbols<br /> * that actually control preprocessing of fdk include files.  The<br /> * environment symbols loosely follow fmarch output and compiler names.<br /> */<br /><br />#ifndef FDK_ENV_H<br />#define FDK_ENV_H<br /><br />#ifdef WIN_FRAME<br />#undef WIN_FRAME<br />#endif<br /><br />#define WIN_FRAME<br /><br />#ifndef _INC_WINDOWS<br />#include <windows.h><br />#endif<br />#ifndef _INC_STDIO<br />#include <stdio.h><br />#endif<br />#ifndef _INC_STDLIB<br />#include <stdlib.h><br />#endif<br /><br />#ifdef COMPILER_IS_MSC<br />#define CDECL _cdecl<br />#endif<br /><br />#define ALWAYS_CONSTRAIN_QUICKCOPY<br />#define _fullprototypes_<br />#define __PROTO__<br />#define USE_ASM_METRICMUL<br />#define USE_ASM_METRICDIV<br /><br />#if defined(COMPILER_IS_SUPPORTED)<br />#define NativeIntIs16Bits<br />#endif /* COMPILER_IS_SUPPORTED */<br /><br />#if defined(NativeIntIs16Bits)<br />#define MACHINE_USES_HUGE_MEMORY<br />#endif<br /><br />#endif /* FDK_ENV_H */<br /><br />Ich hab schon überall geschaut, aber ich finde diese windows.h Datei nicht.<br /><br />Vielleicht kann mir jemand helfen?

Similar Messages

  • FrameMaker FDK Developement - hints and tips needed

    Hi.
    I have looked around after information about how to develope with FrameMaker FDK, but I can't find any good examples for a FDK newbee.
    Anyone that knows about some useful links where I can find information about how to get started?
    I have tried google, but I couldn't find anything good.
    Thanks,
    Per

    If you need to create quick fixes to speed up production, then definitely investigate Framescript first. It's a complete IDE environment that lets you try things out iteratively. It has virtually all of the capabilities of the FDK and lets you access system resources as well. The documentation is extensive and there is a third-party tutorial book available from Rick Quatro at http://www.frameexpert.com
    There is an active group on Yahoo for this as well at http://groups.yahoo.com/group/framescript-users/
    Depending upon where you reside there also are some training classes available for this via Front-Runner Training in Toronto,
    see: http://www.front-runner.com/TrainingCategoryDetail.php?cid=76&catid=4&compid=1&pageNum_Cat egoryCourses=00

  • Setting pdf printer settings use framemaker FDK

    I am trying to create a framemaker client that will save a book as a pdf file. This client will do all the steps automatically and will be activated nightly on a build server.
    My problem is that when I use the command F_ApiSave() with the arguments set so that the file will be correctly saved, I get an error in framemaker that says I must set the PDF printer property: "Rely on system fonts only; do not use document fonts." to off. This option is already set to off by default, but my client must be changing it to on.
    Is there any way to change this option using the Framemaker API in C on windows?

    gmuresan, if you haven't yet posted on the FrameDev list, you might find more FDK information there:
        http://groups.yahoo.com/group/frame_dev/

  • FDK Problem: "Unsaved changes in file" dialog with MIFs

    Hi there
    I have a problem saving MIF files using our FrameMaker API client.
    After we have written out all our content, we're getting prompted to save unsaved changes in the .MIF file.
    We're not sure whether to click yes here or not.
    If we click yes, we then get a save dialog which prompts for a filename,
    but has the default file extension set to .FM.
    When you click "save", another message box appears telling me that I'm trying to save a
    .MIF file in the .FM format and that is not allowed, and asks if I want to save it
    as .MIF. 
    Although this is an a mere annoyance for me, it's probably very confusing for
    customers who use our software, and I'm not sure whats causing it.
    I've tried to address it by modifying the default save parameters within the FAPI
    using this:
    F_PropValsT saveParams = F_ApiGetSaveDefaultParams();
    i = F_ApiGetPropIndex(&saveParams, FS_ModDateChanged);
    saveParams.val[i].propVal.u.ival = FV_DoOK;
    Needless to say, it didn't work. I'm wondering is thee another approach I should
    be using?
    Thanks
    Eric

    Hi Eric,
    I'm not clear if your software is saving the file automatically, or whether the user needs to do it after your process runs. And, I'm not really clear on what exactly you want to happen after your code runs.
    I do think that any open MIF file (even if in binary format, after being opened in FM) will cause that prompt when you attempt to close it manually, even if you have made no changes since the last save. My thought is that FM simply looks at the file extension and generates that behavior accordingly.
    A few options you have (may be more, once I understand the situation better):
    - Let the code close the file itself once it is done, using F_ApiClose(docId, FF_CLOSE_MODIFIED). This, of course, if the interactive user doesn't need to see it.
    - Use F_ApiNotification() and F_ApiNotify to hijack the save request and save the file as MIF automatically, which should allow you to avoid the second prompt.
    - Use notifications to hijack the document closure process itself, simply closing the doc upon request whether it has changes or not. Or, maybe you could add your own prompts. This would take consideration of whether you actually want to allow an interactive user to make changes after the code runs.
    Just some ideas there. If you provide more info on what you want to happen after your code runs (presumably this is the translation thing), I might be able to help more.
    Russ

  • Updated FrameMaker FDK documentation???

    Is there an updated Winguide.pdf available for FDK8. I see that the "Whats_new_in_FDK8" PDF recommends the use of Visual C++ 2005 there is no further explanation on how to set that environment up. And since Visual C++ 2005 does not support Single Threaded applications as VS2003 did, I'm wondering how to ignore libcd.lib without incurring a ton of unresolved external symbol errors in my app.
    Also, it would be great if all the developer doc was updated and made available via the FDK 8 installer. The latest doc set on the Adobe support site, shipping with the 1Feb2008 FDK installer applies to 7.2 and even 7.1, goes back to Sept 2007.
    Thanks
    Chuck Vorndran

    I don't know if this will help exactly, but I got some help from Scott Prentice when I switched to VS 2003:<br /><br />Hi Rick...<br /><br />Here's what I've added to the code to compile FDK8 apps in VC7 (VS2003) ..<br /><br />// FDK8 required in VC7<br />#include <sys/types.h><br />#include <sys/stat.h><br />int _stat32( const char *path, struct _stat *buffer ) { return <br />_stat(path, buffer); }<br />int _wstat32( const wchar_t *path, struct _stat *buffer ) { return <br />_wstat(path, buffer); }<br />long _ftol( double );<br />long _ftol2_sse( double dblSource ) { return _ftol( dblSource ); }<br /><br />I'm successfully compiling with VC8 (VS2005 Standard) .. I don't know <br />about the "Express Edition". Note that if you want to build an <br />import/export client you must use VC8, but you can build regular clients <br />using older versions of the compiler.<br /><br />If you need more info, you might want to try the "frame_dev" Yahoo group.<br /><br />Cheers,<br /><br />...scott<br /><br />Scott Prentice<br />Leximation, Inc.<br />www.leximation.com<br />+1.415.485.1892<br /><br />Rick Quatro wrote:<br />> According the FrameMaker 8 FDK Supplement, I can compile FDK 8 clients in <br />> Visual C++ 2003 (7.1). On page 22, it says to put the following lines in the <br />> source code of the FDK client:<br />><br />> extern "C" {<br />>   long _ftol2(double);<br />>   long _ftol2_sse(double dblSource) { return _ftol2(dblSource); } }<br />><br />> When I do that and attempt to build the plugin, I get a synax error pointing <br />> to the line<br />><br />> extern "C"<br />><br />> The error is<br />><br />> error C2059: syntax error: 'string'<br />><br />> Any help would be appreciated. Thanks.<br />><br />> Rick Quatro<br />> Carmen Publishing<br />> 585-659-8267<br />> www.frameexpert.com<br />><br />> _______________________________________________

  • Framemaker 8 problem with paragraph styles

    Hi,
    I manage a documentation (one file) including paragraph styles organized like that :
    -- Chapter
         |--- Sub chapter
           |--- Sub Sub chapter
    My question is simple
    When a create a PDF file from my document, including bookmarks, I'm encountering the following problem :
    The "chapter 4", "sub chapter 4" and "sub sub chapter 4" paragraphs are created correctly. The bookmarks are created with the correct place.
    Like that :
    |---- chapter 4
      |---- sub chapter 4
       |----- sub sub chapter 4
    BUT
    The "sub sub chapter "5 paragraph styles are created into the "Chapter 4" structure, added with the "sub sub chapter" of Chapter 4. And the Chapter 5 just contains the "chapter 5" and "sub chapter 5" bookmarks.
    Like that :
    Chapter 4
        |---- sub chapter 4
           |---- sub sub chapter 4
           |---- sub sub chapter 5
    Chapter 5
       |--- sub chapter 5
    After checking the structure of my document, I do not find any thing which could create this problem.
    The paragraph styles seems to be correct.
    Thank you so so much to help me because I don't know how to replace the "sub sub chapter 5" below the" sub chapter 5".
    Phil ;o)

    There are a few ways to go with this. One is to put all the files in a Book,
    temporarily, and set the one with the correct style definition as the
    source, then synchronize the paragraph styles. This will change ALL styles
    with the same names throughout all the documents, and add any styles that
    are present in the source, but not in one of the other files, so it is a bit
    risky, especially if any styles are based on or [Basic
    Paragraph] itself is used in one of the files and it isn't already defined
    exactly the same in all files.
    You can also open any file and go to the Paragraph Styles panel menu and
    choose Load Styles, then select the style you want to load, and how to
    handle a conflict (Use Incoming), which will give you more control over what
    happens.
    Or each time you open a file and get the missing font warning you can go to
    Find Font and select the missing font, then pcik your substitute, check the
    redefine styles box, and click Change All. This would probably be the best
    choice since it doesn't depend on style names to make the correct changes.

  • FrameMaker demo problem

    I am attempting to load a demo of FrameMaker 9 on my laptop to see if it will work for my company. The specs on this computer are more than adequate, and I am running Windows 7, 64 bit. I installed the Technical Suite 2.5 demo as I could not get the FrameMaker standalone demo to download correctly. It installs fine, or seems to. After installation I click on the FrameMaker icon, the splash screen comes up. It loads about halfway, then an error message comes up that tells me that the LangaugeDir is missing or corrupted. My harddrive has two partitions. I have attempted to install it on both partitions, with uninstalls and reboots every step of the way. I deleted off everything and downloaded it a second time, with the same results. I can get the other components, RoboHelp and Acrobat Extended to load just fine, but FrameMaker refuses. The only help I've found on this suggested checking the maker.ini file to see if LanguageDir was pointing at the right folder. It said "LanguageDir=dict" and I confirmed there is a folder called "dict" in the FrameMaker directory and it is nonempty. Not sure what else to try at this point. Does this program even work on a 64 bit machine? I guess its not much use to me at work if it won't run on my machine, no matter what the features are.

    I think you'll need to be sure that the Language files are removed (manually) after uninstall and before reinstall.
    You might also try searching the Framers list archives:
    Just use Google and follow your search term with "site:lists.frameusers.com".
    . For example, type "LanguageDir site:lists.frameusers.com" (without quotes) into the Google search box.
    If your search term has spaces, put quotation marks around the search term, e.g.
    "master page" site:lists.frameusers.com
    Sheila

  • How can I get XML cross-references to translate to Structured FrameMaker?

    I've been using Structured FrameMaker from the beginning, and have designed many EDDs, and about 10 years ago I did some translation of SGML into Structured FrameMaker (7.2) which worked well.
    Now, (with FrameMaker 10), I've had to design an EDD to translate XML documents into Structured FrameMaker.
    In my EDD I've a CrossReference element called XRef; this has an attribute of ID, which in turn has a value of IDReference and has Special AttributeConrols of ReadOnly.
    My target elements in the EDD all have an ID attribute with a value of UniqueID.
    My XML document's target xref element has  an attribute of linkend, and in XML this works as I'd expect.
    When I pass the XML file through the EDD/Template, everything works except that I get an ID = no value, which, of course, results in no display of the cross-reference data in the document.
    Oddly, in structured FrameMaker, my element of link, with an attribute of linkend, works as it should, and displays the data.  It may not be important, but the value for linkend is IDReference not UniqueID, and this displays correctly (I changed this attribute's value to Unique ID in my EDD and it made no difference to the XRef value in my document).
    After making all these EDD changes, I've been careful to save the changes, import them to all files in my book and finally update the book.   Everything hangs together - except, of course, that the cross-reference doesn't work.
    I'd sincerely appreciate any help or advice other users might have because I'm quite frankly stumped.

    Russ,
    Sorry about the delay in replying; got sidetracked trying to fix some FrameMaker 10 problems; on occasion, it laughs and crashes if we copy an element in a document and paste it to somewhere illegal.  This doesn't happen all the time, but it might be something someone might do, so it was interesting to know.
    Anyway, back to cross-references.
    In our r/w rules we have:
    "linkend" is fm attribute "ID";
    Can we also have a similar line under the cross-reference element as:
    element "xref"
         is fm cross-reference element "XRef";
         attribute "linkend" is fm property cross-reference id;
         attribute "role" is fm property cross-reference format;
    At the moment the second line is:
    .....attribute ID is fm property cross-reference id;
    I tried adding the attribute "linkend" is fm property cross-reference id; (so that I had both linkend and ID) bit but this made no difference.
    In general use cross-references work, in that it picks up data in one place in the document, e.g. WorldWideWeb, and repeats it elsewhere.   So in our xml file we have a link element with an attribute linkend which, when it's processed (ignoring the handshake code used to link the two - which could be something vague like 12345vvdog), repeats whatever is the target.
    Conversely, for a cross-reference, in xml they use an xref element which also has a linkend attribute (similar mysterious secret handshake behind the scenes) which is deemed to point to a list of references.   This looks like it might be the stumbling block in that it links to an area in the xml document which is used as an internally generated list of references.  Apparently this is only built when the xml book equivelent is finalised, so is not, like the link and linkend coupling described above.
    I've passed this back to the xml people, and they are investigating a different way of preparing their cross-reference to a list of references (I'm now thoroughly confused with all these references - good thing the weekend's just around the corner).
    I appreciate all you help and advice, I'll admit that this is a lot more difficult to understand than straight-forward EDD element creation along with their respective attributes.   Life used to be so much more simple back then!
    In sum, what I thought I was doing was allowing an ID attribute with a value of IDReference in my elements, this was deemed to allow for FrameMaker cross-referencing.   In Structured FrameMaker, on its own, this works just fine; it all fell flat on its face when trying to import xml.   I tried to see whether the xref element's ID attribute could also be a UniqueID, but as just about everyone has said, this is a silly idea.   I was just trying stuff to see whether it might make a difference - you'll not be surprised to see that it didn't!
    For the moment, I have attributes called ID with a value of IDReference, and I understand you're all suggesting to leave it at that.
    If I understand correctly, I could eventually use an IDRef attribute if I wanted a UniqueID value to be used, though I'm not sure what a UniqueID is used or useful for, so will file that for future use.
    Again, thanks for the advice and help.
    Chris

  • Using FrameMaker files on server

    2008-10-22-03T17:30Z
    FrameMaker gurus -
    Windows XP Professional SP2
    CPU: 2.4 GHz
    RAM: 2.0 GB
    FrameMaker 7.1p116
    WebWorks Publisher Professional for FrameMaker 2003 8.0.82296
    GigaBit set at 1000
    I've seen some strange behaviors by both FrameMaker and WWP Pro.
    I have heard it said or have seen it written to the effect that FrameMaker has problems working with files on a server.
    Given the setup:
    1. FrameMaker and WWP Pro programs (individual licenses) installed on workstation on LAN
    2. FrameMaker (.book and constituents) and WWP Pro production files on server on LAN
    3. corporate standard setup rather than having files on workstation under, say, "My Documents" folder
    ¿What are the considerations, potential glitches, and gotchas? ¿Things such as incompatibility between speed of FrameMaker and WWP Pro programs on workstation getting info to and from files on server?
    Advise, please.
    Thanks!
    Dave Stamm

    David,
    I do not know about WWP Pro, but we use FrameMaker on workstations and access the files on servers. No problems other than speed at which files and graphics display.
    Van

  • Offending command problem

    Any ideas on how to resolve this problem?
    %%[Error: undefined; OffendingCommand: Rea ]%%
    I create a postscript file from my Framemaker file then use Acrobat Distiller v7 to generate the tagged PDF. Interestingly, if I deselect the 'Generate Tagged PDF' option in the printing setting for Framemaker the problem doesn't occur.
    And the file was ok the other day!

    This was a known problem whose inadequate solution you found (turning off tagging). I do not remember there being another solution---other than upgrading. I'd recommend you ask in the Frame forum where you will find people with longer memories than mine.

  • Framemaker 12 unstructured  version 12.0.2.389 crashes when trying to print

    I have a couple of clients in different companies whom I try to help with FrameMaker related problems on a consultancy basis. They have upgraded to FrameMaker 12 and are now experiecing some problems regarding print. Framemaker 12 unstructured version 12.0.2.389 crashes when trying to print. Sometimes the print dialogue opens when they try to print to pdf and then FM crashes after a little while, but often merely trying to reach the print dialogue makes FM crash. They are both having Acrobat set up as default printers and they are both printing across networks. And they are both having slightly older Acrobat versions than the one coming with latest Technical Communication Suite. I somehow suspect the trouble being related to either printing across networks or the version of Acrobat, but have not been able to solve it. Any ideas anyone?
    regards
    Bjørn

    I'm experiencing the similar crash since yesterday. The FM I have is v12.02.389, and I'm authoring in unstructured mode as well. I'm wondering if this was the same issue but I'd like to describe this error here rather than create a new but possibly a duplicate post.
    FM version: 12.02.389
    Internal Error Code: 12024, 24704628, 24704922, 27638133 (I was kind of surprised that four errors came all at once! Man, that's a whole bunch of zombies!)
    Repro:
    1. Open an existing fm file with more than 3 pages. (The reason of doing so is I was about to print page 64 to 69 of this chapter to PDF)
    2. Go to Print Setup > Properties, disable the "Rely on system font...".
    3. Save the changes then go back to File > Print and set the pages to be printed(say, 64 to 69).
    4. Click Print.
    Then I saw the progress bar moving but when it reached to the end, a prompt message box came up saying something like  "Framemaker 12 closes due to Internal error 12024, 24704628, 24704922, 27638133".
    I'm wondering if it's a bug or it crashes due to some improper settings? The FM12 was doing OK in the past. I've no idea what's going on. I was trying to look for the troubleshooting guide or similar stuff which might allow me find out the solution based on the error codes presented in FM12, but all the search ended up in vain.

  • FDK and FM 8: Internal Error: 8004, 6343724, 8484240, 0. FrameMaker has detected a serious problem a

    I use FDK9 and FrameMaker 8. I used Visual C++ 2008 Express Edition and Microsoft SDKs to compiled sample FDK hello.c program, C:\Program Files\Adobe\FDK9\samples\hello. It compliled just fine without error or warning message. I registered the hello.dll to fminit directory and added the line: "hello=Standard, Greets user at startup,fminit\hello.dll, all" to maker.ini. When I brought up FrameMaker I got error message:
    Internal Error: 8004, 6343724, 8484240, 0. FrameMaker has detected a serious problem and must quit.
    A file named fminit\hello.dll has been generated which contains
    information that may help Frame development improve the product for future releases.
    Please describe your recent actions and send this, along with the generated file,
    to [email protected] Due to the volume of feedback, we are unable to respond to technical questions.
    For support, please refer to http://www.adobe.com/support.
    Please help.
    Thank you,
    Thai Nguyen

    Thai,
    Here is what Wikipedia says:
    "In April 2003, Microsoft introduced a minor upgrade to Visual Studio .NET called Visual Studio .NET 2003, codenamed Everett (for the city of the same name). It includes an upgrade to the .NET Framework, version 1.1, and is the first release to support for developing programs for mobile devices, using either ASP.NET or the .NET Compact Framework. The Visual C++ compiler's standards-compliance was improved, especially in the area of partial template specialization. Visual C++ Toolkit 2003 is a free version of the same C++ compiler shipped with Visual Studio .NET 2003 without the IDE, though it is no longer available and now superseded by the Express Editions. The internal version number of Visual Studio .NET 2003 is version 7.1 while the file format version is 8.0."
    I think you should be OK with the later compiler. I don't know what is causing the crash, though. Perhaps you might consider setting up a new workspace according to the instructions in the Windows guide, then add hello.c to it, and see what happens. That would at least let you know if there is a compatibility problem with the sample, or if your current setup will simply not allow FDK9 development for FM8.
    By the way, there is a Yahoo group dedicated to FDK development. If you don't get an answer here, consider posting there. Some of the users on that list are considerably smarter than me about these types of issues.
    http://groups.yahoo.com/group/Frame_dev/
    Russ

  • Problem mit FDK-Client

    Ein FDK-Client, der unter Windows XP einwandfrei funktioniert, unter Windows 7 funktioniert nur bei Benutzern mit lokalen Adminrechten. Bei Benutzern mit Standardrechten bricht die Ausführung ab mit Fehlermeldung „Interner Fehler 9004, 6919244, 9675646, 0“.

    Ich spreche kein Deutsch...
    Preferably, contact your supplier and get them to fix the DLL
    The "0" at the end of the error message "internal error 9004, 6919244, 9675646, 0" indicates that your DLL is trying to use a null pointer. I suspect that a call to allocate a resource is failing because oif inadequate permissions, and returns 0. The DLL is then using the return value without checking it.
    You might be able to fix the permissions problem by adding a manifest. Do one of the following:
    if you have the source for the DLL, add the manifest as a resource, and recompile the DLL
    if you do not have the source, add the manifest as a separate file in the same directory as the DLL( foo.dll would use foo.manifest).
    I did this in a previous job, but no longer have any details, so cannot offer any further advice. Use your favourite search engine to get more help. You might also look at any .manifest files within FrameMaker,
    Alternatively, try changing the Security settings for the DLL (right-click, Properties, Security tab). I have never done this, but it might have some benefit.

  • FDK Framemaker Server: How to properly disconnect an asynchronous client

    Description: We developed an asynchronous client DLL that starts up and connects to FrameMaker using a registered prog id. Everything works fine but we have the following problem: When the DLL disconnects from the FrameMaker process, FrameMaker can not be stopped but makes the FrameMaker process and the application hang. When the DLL is unloaded after disconnecting, then FrameMaker can be stopped normally. We like to know how to disconnect from the FrameMaker process in such a way that FrameMaker can be stopped normally without the requirement to unload the DLL first. This way we also want to be able to stop FrameMaker using the DLL.
    Details:
    To connect and start-up the FrameMaker process we use the F_ApiWinConnectSession() function.
    To disconnect we call the F_ApiDisconnectFromSession() function.
    We tried different options with initializing COM and intializing the message filter using FDK and the F_ApiShutDown() function.
    Regards,
    Edwin Walter

    I've always shut down the projector, and the computer reacts by reverting to single built-in monitor mode. Then I diconnect the cable.

  • Problem Working With Framemaker 9 Dita XML Files in Framemaker 10

    I just upgraded to Framemaker 10. I am encountering a number of problems when I try to work with my Dita XML help topics, which were last saved in Framemaker 9 format.
    1. Using the Default Dita Template
    When I open one of my documents in Framemaker 10, the Dita 1.2 template ditabase.fm is automatically applied. Everything seems fine. But then when I convert the XML to Eclipse help (which is essentially html, so we're going from XML to HTML) using Dita Open Toolkit ant scripts, I see this message:
    [pipeline] [DOTJ013E][ERROR] Failed to parse the referenced file 'html\c_licensing.xml' due to below exception. Please correct the reference base on the exception message.
    [pipeline] c_licensing.xml Line 25:Attribute "xmlns:ditaarch" must be declared for element type "dita".
    I then opened the xml  file in a text editor, and I saw this on line 25:
    <dita xmlns:ditaarch = "http://dita.oasis-open.org/architecture/2005/">
    Line 25 looks fine to me. Am I missing something? 
    2. Switching to a 1.1 Dita Template
    I tried to work around the above problem. In Framemaker, I tried to set a different structured application as the default one. I closed all files and chose the default Dita 1.1 structured application (it defaults to the Dita 1.1. Composite app.)
    Then I tried to open my file: I got this message inside Framemaker:
    "Validation of XML failed. Continue?
    Error at [FILE PATH], line 25, char 72, Message: Attribute '{http://www.w3.org/2000/xmlns/}ditaarch' is not declared for element 'dita'
    Sounds familiar, doesn't it?
    I switched from the default Dita 1.1. Composite structured application to the Dita 1.1. Topic structured application. Then I dirtied the source file and saved it. The messages I got in FrameMaker log window included the one above, plus I got a variety of Unknown Element messages, things like this:
    Unknown element dita,
    unknown element concept,
    various attributes are not declared for concept,
    unknown element conbody.
    If I switch back to the Dita 1.1 Composite application all of these messages diappear except for this one:
    Attribute '{http://www.w3.org/2000/xmlns/}ditaarch' is not declared for element 'dita'
    My ant conversion scripts from the Dita Open Toolkit are still unable to process this file. They give the same message as is listed in (1) above and the file is not converted to HTML.
    Can anyone help me with this problem? I've also posted this question to the Dita Users Group on Yahoo Groups. If I get an answer in one place, I'll post it in the other.
    Thanks,
    Nina P.

    I really appreciate all the help you are providing with this, Scott. I tried your latest suggestions. Here's what happened:
    Application Mappings:
    I figured out how to add my "BigPage" structured application to the Applications Mappings dialog. I made a new "BigPage"  mapping type, then figured out the non-intuitive part: how to add my individual BigPage topic types to it.  I closed and reopened FrameMaker opened my test document, and, as before (before I did the application mappings) I saw my BigPage applications listed in the Structure Tools > Set Structured Application drop-down. I selected the appropriate application (in this case it was DITA1.1-BigPage-Reference-FM and clicked the "Set" button. 
    It is at this point in Framemaker 9 (and also once, in FrameMaker 10, early in this process, but I haven't been able to replicate it since) that the page size would change to tabloid size, indicating that the document was using the template from the BigPage reference structured application, not the regular DITA1.1 reference application. But this did not happen.
    I tried saving the document, closing it, and reopening it. Once again the default structured application assigned to that document was "reset" to DITA1.1-Reference-FM.  But the fact that the page size did not immediate refresh to tabloid size told me that although I did select the BigPage application in the drop-down, it wasn't being applied.
    Public IDs:
    The public ID in my test reference XML file is:  <!DOCTYPE reference PUBLIC "-//OASIS//DTD DITA Reference//EN" "reference.dtd" [
    The four public IDs in the DITA1.1-BigPage-Reference-FM entry in structapps.fm (in the Entity Locations section) are:
    -//OASIS//DTD DITA Reference//EN 
    -//IBM//DTD DITA Reference//EN
    -//OASIS//DTD DITA Composite//EN
    -//IBM//DTD DITA Composite//EN
    Do you see anything wrong with the above? .
    Directory Structure: 
    Maybe I cloned the application incorrectly?  Here's what I did:
    1. In C:\Program Files (x86)\Adobe\AdobeFrameMaker10\Structure\xml, I copied the folder called DITA and pasted it into the same directory. I renamed this folder DITA-BigPage
    2. Inside DITA-BigPage, I opened the app folder. Inside each subfolder in app, DITA-Reference-FM, for example, I opened the edd file in Framemaker. In this case, the edd file name was reference.edd.fm.
    3. I edited the top line of reference.edd.fm.  It originally said:
    Structured Application: DITA1.1-Reference-FM.
    I changed it to say:
    Structured Application: DITA1.1-BigPage-Reference-FM
    4. I saved the EDD file. Then I opened the template file in the same folder. It was called: reference.template.fm.
    5. In reference.template.fm, I first changed my page size: Format Menu > Page Layout > Page Size > Tabloid > Set.
    6. Then I imported the element definitions from the corresponding EDD file:  File > Import > Element Definitions > reference.edd.fm > Click Import > Click OK to dismiss verification message.
    7. I repeated the above process for all topic-type folders. For the maps types, I did not change the page size, as these will never display as topics in my online  help. I did nothing to the dtd folder.
    8. Once all this was done, I opened structapps.fm.  I did the following to all Dita1.1 elements in the structure tree.
    Selected the Dita 1.1 XMLApplication element, for instance, the one named Dita1.1-Reference-FM, copied it, and pasted it underneath the original element.
    The original first few lines in the clone looked like this:
    Application Name: DITA1.1-Reference-FM
          Template:              $STRUCTDIR\xml\DITA\app\DITA-Reference-FM\reference.template.fm
          DTD:                       $STRUCTDIR\xml\DITA\app\dtd\reference.dtd
          Read/write Rules:  $STRUCTDIR\xml\DITA\app\DITA-Reference-FM\reference.rules.fm
          DOCTYPE:              reference
    I changed these lines to look like this, using your suggestion to create a variable for the first part of the URLs to enable speed and accuracy:
           Application Name:      DITA1.1-BigPage-Reference-FM
                   Template:                    $STRUCTDIR\xml\DITA-BigPage\app\DITA-Reference-FM\reference.template.fm
                   DTD:                            $STRUCTDIR\xml\DITA-BigPage\app\dtd\reference.dtd
                   Read/write Rules:        $STRUCTDIR\xml\DITA-BigPage\app\DITA-Reference-FM\reference.rules.fm
                   DOCTYPE:                    reference
    I also changed the "Filename" URLs in the "Entity Locations" section of this XMLApplication clone from  $STRUCTDIR\xml\DITA\app\  to $STRUCTDIR\xml\DITA-BigPage\app\.  Applying the "BigPage" variable I'd created for this purpose made this go quickly.
    Finally, after this didn't work the first few times I tried it, I got suspicious that the structapps.fm file in my AppData folder (in my case, it was in the Roaming subfolder under the usual Adobe directories) was overriding the modified structapps.fm file in the Framemaker program directory so I replaced the one in AppData (it had all the original settings) with my modified version.  This had no effect, unfortunately.
    That was my process. After doing the above, the Dita1.1-BigPage applications all listed in the Set Structured App drop-down. They just didn't work,when applied to my XML documents. Nor did the application "remember" what structured application I had set when I opened a new xml document  or closed/reopened the current document or closed/reopened the application.  Did I place the directories correctly for Framemaker 10?  This is the way I did it for FrameMaker 9 and it worked successfully.
    As much as I'd love to solve this mystery, I've thought of a workaround I can fall back on  that doesn't involve using a cloned application.  I will change the page size of a few of the original Dita1.1 sturctured application templates to tabloid size, but leave the Topic structured application at letter size. I'll then apply the Topic structured application to my PDFs and use the others for my help topics.  I'll set this up now. If this doesn't work, then I'll know there's a much bigger problem at the base of this, perhaps even something to do with changing page sizes in templates.

Maybe you are looking for