Issue 12065 - Parameter sectionText undefined
Summary: Parameter sectionText undefined
Status: CLOSED FIXED
Alias: None
Product: xml
Classification: Code
Component: definition (show other issues)
Version: OOo 1.0.2
Hardware: PC Windows 2000
: P2 Trivial (vote)
Target Milestone: ---
Assignee: michael.brauer
QA Contact: issues@xml
URL:
Keywords: oooqa
Depends on:
Blocks:
 
Reported: 2003-03-05 12:12 UTC by Unknown
Modified: 2008-05-18 00:06 UTC (History)
1 user (show)

See Also:
Issue Type: DEFECT
Latest Confirmation in: ---
Developer Difficulty: ---


Attachments

Note You need to log in before you can comment on or make changes to this issue.
Description Unknown 2003-03-05 12:12:28 UTC
When attempting to retrieve the content.xml file through a webserver and 
display in a browser, the following message is displayed:

Parameter entity must be defined before it is used. Error processing 
resource 'http://..../drawing.mod'. Line 548, Position 4

   %sectionText;)>
 ---^

This only occurs when using the generated XML files and attempting to display 
them in a browser.

Any ideas what I am missing here?

Cheers,

Wolfgang
Comment 1 Unknown 2003-03-05 12:57:55 UTC
O.k. seems there is a related issue with the office.dtd file.

The text.mod entity is defined after the drawing.mod entity, yet the 
parameter sectionText that is defined in text.mod already shows up in 
drawing.mod ... 

<!ENTITY % drawing-mod SYSTEM "drawing.mod">
%drawing-mod;
<!ENTITY % text-mod SYSTEM "text.mod">
%text-mod;

moving the declaration of text.mod prior to the declaration of 
drawing.mod solves the issue, it seems ...

<!ENTITY % text-mod SYSTEM "text.mod">
%text-mod;
<!ENTITY % drawing-mod SYSTEM "drawing.mod">
%drawing-mod;

Cheers,

Wolfgang
Comment 2 openoffice 2003-03-05 13:26:52 UTC
dvo: This issue is known & solved in CVS and current developer builds,
but the old (faulty) DTDs still ship with the SRC641 based builds
(i.e., all OOo 1.0.x builds).

Wolfgang, you have already discovered the usual work-around. 

The official bug-fix will introduce a seperate file (defs.mod) with
definitions used in several other .mod files. If you prefer that, get
the current DTDs from the CVS or from the recent SRX644 build.

I'll mark this fixed, since it'll be fixed in SRX644 builds (1.1
release). Hope you get by with the work-around in the mean time.
Comment 3 ace_dent 2008-05-17 22:01:53 UTC
The Issue you raised has been marked as 'Resolved' and not updated within the
last 1 year+. I am therefore setting this issue to 'Verified' as the first step
towards Closing it. If you feel this is incorrect, please re-open the issue and
add any comments.

Many thanks,
Andrew
 
Cleaning-up and Closing old Issues
~ The Grand Bug Squash, pre v3 ~
http://marketing.openoffice.org/3.0/announcementbeta.html
Comment 4 ace_dent 2008-05-18 00:06:14 UTC
As per previous posting: Verified -> Closed.
A Closed Issue is a Happy Issue (TM).

Regards,
Andrew