I am about to scream at this. I have a series of text entities declared through an external file. This has worked for a LONG time with no problems, now suddenly, when some of the ENTITIES display on screen and in the final output, there are added line feeds.
I have gone through the entity file and there are no extra line feeds I am including the ENTITY declaration for one of the problems along with a screen capture showing what Epic is doing.
Does anyone have any idea where the extra line feeds are being thrown in from? This is bugging me PLUS it is messing up formatting as for some ATTLISTs, I have additional attributes that I enter manually with a single line feed. This now gives me a list with mixed formatting (as is shown in the graphic).
I started a case with PTC support on this issue. They were able to duplicate the problem. A bit more 'troubleshooting' (after I found some older files on a thumb drive) seems to have narrowed the problem down to this.
I switched from using a DTD to a schema. One of the problems is schema does not like calling ENTITIES from an external file. So I have had to resort to declaring them in the XML instance. Therein lies the problem. IF one puts an ENTITY declaration similar to this
In the document instance subset, I suddenly get unwanted extra lines. Not in all cases, just in a couple of elements where the content is #PCDATA and
You might have to turn your external entities into mini schemas and use <xs:include> or <xsd:include> in your schema for the external entities. I think that should work, as long as all files use the same namespace(s).