[Date Prev][Date Next]
[Thread Prev][Thread Next]
[Date Index]
[Thread Index]
[New search]
To: Dan Emory <danemory@xxxxxxxxxxxx>, framers@xxxxxxxxx
Subject: Re: SGML fragments imported by reference problems - more details
From: Adrie Berg <adrie.berg@xxxxxxxxxxx>
Date: Mon, 30 Jul 2001 14:53:30 +0200
In-Reply-To: <4.2.0.58.20010730020008.009d6650@pop.primenet.com>
References: <5.0.2.1.0.20010730100008.009ea500@mail.euronet.nl>
Sender: owner-framers@xxxxxxxxx
It's not at all clear from your description what the problem is.
1. Are the "fragments" :
b. Each fragment in a separate file, that is separate from the file containing the Target Document?
9. Your description that the "first paragraph layout of the fragment is repeated at the end" doesn't seem to gibe with what you describe later, namely that:
"In the above example you can see the 3. being incorrect. It somehow a part of the imported fragment"
Is the problem that the second line of yyyy under 2 above is a "repeat of the first line", or is the problem that 3 (which presumably is in the Target Document) is becoming part of the fragment under 2? I conclude that it's the latter.
2. Are the numbers 1, 2, 3, and 4 in your example part of the Target Document or the fragments? If the answer is that they're part of the Target Document, are you inserting the fragments inside the same elements that contain those numbers in the Target Document?
3. Does the element structure of the fragments conform to the same DTD/EDD as that used to create the Target Document? If not, that's likely to be the cause.
4. Are the fragments valid at the text insertion points where they are being imported? You should be able to check this by re-validating the Target Document after you've imported the fragments. If the validator reports an error at the location of the fragments, that's the cause of the problem.
5. Are you sure that there are no ad hoc format overrides to the EDD-specified format rules for the fragments or the Target Document? After importing the fragments into the Target Document, you can check this by re-importing the Target Document's element definitions back into itself with "Remove Format Rule Overrides" turned on. If this corrects the problem, then you've found the cause.
6. Are you importing the fragments into the Target Document by copy or by reference? Change to the other option, and re-import. If the problem is eliminated, you've found the cause.
7. When you import the fragments, are you specifying that they be reformatted according to the target document, or are you specifying that the formatting in the fragment be preserved? If you've selected preserving the formatting in the fragment files, try changing the option to reformat according to the target document. If the problem is eliminated, you've found the cause.