EUREKA.
It took me a while, but I FINALLY found the answer. But to prolong the
agony, here are some of the steps I took to find the solution.
Epic function
Schema
DTD
count_notations
All 0
Lists used
notation_exists()
Y
Y
notation_source()
1
-1
oid_graphic_format()
null
OK
oid_graphic_viewer()
null
null
graphic_tag("graphic")
0
1
dcf_validate()
1
1
doc_type_dcf_file
null
OK
graphic_entity_attr_name()
null
OK
graphic_tag()
0
1
graphic_tag_name()
null
OK
entity_exists()
1
1
entity_path()
OK
OK
oid_declared_tag()
1
1
doc_type()
OK
OK
doc_type_file()
OK
OK
Now all the functions were properly filled in as needed (like
'notation_exists()' requires a notation name which returned the correct
response when I entered a graphic type notation name).
A couple don't look right, for instance the -1 on 'notation_source()' means
it is not declared, but it is visible in the DTD file.
The first key to the problem was when the DCF did not respond as valid for
the schema. The DCF is in the same folder as the DTD. So that was weird. It
was also (to a degree) the problem.
The final clue was when I ran the 'doc_type_file()' function. I use this
routinely to get the path of the DTD/schema/style sheet. But it finally hit
me that the DTD and schema names are not the same. So the DCF is reading
DTD/Schema name and NOT based on the folder it is contained in.
When I converted the DTD to schema, I used two conversion tools to see which
I liked the best. Both Oxygen and XML Spy can covert a DTD to a schema, so I
named their schemas with a '-ox' or '-spy' to tell which one I was working
with. Now the DCF is looking for the base name, no extra El Toro Poopoo.
When I changed the name to be the same as the DCF, everything started
working as advertised. Well my GIF file still isn't showing up, but that is
another problem (that cost me a day of troubleshooting though).
I knew it would be something obvious, but I just didn't think DCF name to
schema name. L So if you all will excuse me, I am going to step outside and
hit my head against the brick wall that is the side of my house. Hope I
don't damage the house.
Lynn