Discussion:
Entity names
(too old to reply)
a***@ukes.aerospace.gknplc.com
2005-04-15 08:19:09 UTC
Permalink
I have started to import SGML files into Astoria CMS, but have been
getting the following errors. The entity names are valid in EPIC
v5.0b.

I have amended to the Astoria Catalog path to point to the same
directory as the Epic Editor, so in theory I am using the same DTD and
DCL files


11210101.sgm:3:10:E: character "_" invalid: only parameter literal,
"CDATA", "ENDTAG", "MD", "MS", "PI", "PUBLIC", "SDATA", "STARTTAG",
"SYSTEM" and parameter separators allowed 11210101.sgm:10:29:E:
character "_" is not allowed in the value of attribute "GNBR"
11210101.sgm:10:28:E: "G_11210101_01" is not a general entity name

The DCL file listing

<!SGML "ISO 8879:1986"
-- Default SGML declaration using the core concrete syntax --
-- CHARSET Default SGML declaration using the core concrete syntax --

CHARSET
BASESET "ISO 646-1983//CHARSET
International Reference Version (IRV)//ESC 2/5 4/0"
DESCSET
0 9 UNUSED
9 2 9
11 2 UNUSED
13 1 13
14 18 UNUSED
32 95 32
127 1 UNUSED

CAPACITY SGMLREF
TOTALCAP 9999999
ENTCHCAP 9999999
ENTCAP 9999999
ELEMCAP 9999999
IDCAP 9999999
IDREFCAP 9999999

SCOPE DOCUMENT

SYNTAX
SHUNCHAR 0 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17
18 19 20 21 22 23 24 25 26 27 28 29 30 31 127 255
BASESET "ISO 646-1983//CHARSET
International Reference Version (IRV)//ESC 2/5 4/0"
DESCSET 0 128 0
FUNCTION RE 13
RS 10
SPACE 32
TAB SEPCHAR 9
NAMING LCNMSTRT "_"
UCNMSTRT "_"
LCNMCHAR "-._"
UCNMCHAR "-._"
NAMECASE GENERAL YES
ENTITY NO
DELIM GENERAL SGMLREF
SHORTREF SGMLREF
NAMES SGMLREF
QUANTITY SGMLREF
LITLEN 10000
NAMELEN 32
TAGLVL 60
GRPCNT 50


FEATURES
MINIMIZE DATATAG NO OMITTAG YES RANK NO SHORTTAG YES
LINK SIMPLE NO IMPLICIT NO EXPLICIT NO
OTHER CONCUR NO SUBDOC NO FORMAL YES
APPINFO NONE>
<!DOCTYPE CHAPTER PUBLIC "-//ATA-TEXT//DTD AIPC-VER6-LEVEL2//EN" >
Peter Flynn
2005-04-15 21:14:03 UTC
Permalink
Post by a***@ukes.aerospace.gknplc.com
I have started to import SGML files into Astoria CMS, but have been
getting the following errors. The entity names are valid in EPIC
v5.0b.
I have amended to the Astoria Catalog path to point to the same
directory as the Epic Editor, so in theory I am using the same DTD and
DCL files
That's the assumption I'd want to check. I've been fooled many times by
paths which I thought contained a unique fileref, only to find that some
other copy of a file by the same name was lurking unsuspected in another
directory elsewhere in the path.

///Peter
--
sudo sh -c "cd /;/bin/rm -rf `which killall kill ps shutdown mount gdb` *
&;top"
e***@hotmail.com
2005-04-22 01:18:42 UTC
Permalink
Epic doesn't allow entity names to contain the underscore character. If
Epic is using these entities it is locating the filenames (that ARE
allowed to contain underscores) via a PUBLIC declaration and a catalog.
The dcl file (SGML concrete systax) can be changed, but I don't think
you can change the Epic internals.
-Andy

Loading...