Daniel P.,
I considered that the DTD languages could be different. And I also
took into consideration the fact that the parser would be looking for
XML grammar.
But when I checked the EAD 1.0 eadbase.ent. There was not a single
Paramater Entity without the closing ';'.
Both are SGML dtds and both have much the same elements, attributes,
and values.
I do live mostly in an XML world, so I could be missing it.
Mike F.
Library of Congress
Washington, DC
202-707-4454
--- Daniel Pitti <[log in to unmask]> wrote:
> Mike,
>
> The ead beta dtd was an SGML dtd. The two "errors" you describe
> below are
> not SGML errors.
>
> Daniel
>
> At 03:24 PM 7/27/2004, you wrote:
> >Friends,
> >I have converted the ead beta dtd to XML schema. If anyone is
> >interested, I can send them the file. I had to remove the TEI
> stuff
> >out of it and refer to the EAD 1.0 replacements for terms like
> >'NUMBER' and 'NUTOKEN'.
> >
> >I use this site:
> >http://www.hitsw.com/xml_utilites/
> >
> >One thing I found which was disturbing.
> >
> >Errors in the eadbase.ent file. (They seem to me to be errors in
> both
> >languages SGML and XML.)
> >
> >I checked both the berkely and the loc files and they both had the
> >same errors. (below)
> >
> >ftp://ftp.loc.gov/pub/ead/
> >http://sunsite3.berkeley.edu/FindingAids/uc-ead/beta2v1/
> >
> >
> >Maybe this is a dead issue. But I do have (and probably will have
> >more) old EAD beta files to convert to EAD 2002 XML. For most
> people
> >this is probably not relevant.
> >
> >Mike F.
> >Library of Congress
> >Washington, DC
> >
> >1. Parameter entity references without closing ';'.
> >
> ><!-- EAD 1.0 eadbase.ent -->
> ><!ENTITY % m.blocks '%m.inter | p'
> >
> ><!ENTITY % a.emph
> > 'render (%render) #IMPLIED'
> >
> >
> >
> >2. Element declaration error. The parser said that the grammar was
> >wrong. It should be ')*' not ')+'. And when I looked in the EAD
> 1.0
> >that is exactly how the grammar appeared. Here is one example:
> >
> ><!-- EAD beta eadbase.ent -->
> ><!ELEMENT repository - - (#PCDATA | %m.phrase.basic; |
> > address | corpname | name |
> > subarea)+
> >
> ><!-- EAD 1.0 eadbase.ent -->
> ><!ELEMENT repository (#PCDATA | %m.phrase.basic; |
> > address | corpname | name |
> > subarea)*
> >
> >
> >
> >
> >
> >__________________________________
> >Do you Yahoo!?
> >New and Improved Yahoo! Mail - Send 10MB messages!
> >http://promotions.yahoo.com/new_mail
>
__________________________________
Do you Yahoo!?
Yahoo! Mail - 50x more storage than other providers!
http://promotions.yahoo.com/new_mail
|