Print

Print


Thank you!  

The objection to &amp; happened inconsistently, and I suspect that was an oXygen issue.  I just had a strange few minutes with oXygen in which it failed to display @maintype as an attribute in <mainevent> in either the Attributes box or the Content Model box (the upper right hand corner of the display) in the EAC DTD. I went to the DTD to confirm that <mainevent> has an attribute @maintype and was much relieved when I found it (line 1215). When I closed the test file I was using and pulled in another, oXygen displayed it in both boxes just fine. Makes no sense to me, but now I have a response when it happens to students, so I can live with it.

Thanks for your help!

Elizabeth H. Dow
Professor
School of Library and Information Science
Louisiana State University



-----Original Message-----
From: Encoded Archival Description List on behalf of Lehane, Richard
Sent: Tue 1/31/2012 6:43 PM
To: [log in to unmask]
Subject: The entity "hearts" was referenced, but not declared
 
Hi Elizabeth
Have you activated the XML characters section of the DTD? It is conditional & is ignored by default. To enable it, you need to declare <!ENTITY % xmlchar 'INCLUDE'>. You can do this within the doctype declaration:

<!DOCTYPE EAD PUBLIC "+//ISBN 1-931666-00-8//DTD ead.dtd (Encoded Archival Description (EAD)
Version 2002)//EN" [<!ENTITY % xmlchar 'INCLUDE'>]>
 
Weird that &amp; gives you the same error - it is predefined in XML & I would have thought would work anyway.


Richard Lehane | Project Officer, Digital Archives
State Records Authority of New South Wales
Department of Finance and Services
Tel: 02 8247 8636 Fax: 02 8247 8626
Email: [log in to unmask]
Post: PO Box 516, Kingswood, NSW 2747, AUSTRALIA
Web: www.records.nsw.gov.au

Future Proof: Protecting our digital future http://futureproof.records.nsw.gov.au

State Records NSW | documenting our past, informing our future

 
________________________________

From: Encoded Archival Description List [mailto:[log in to unmask]] On Behalf Of Michele R Combs
Sent: Wednesday, 1 February 2012 8:09 AM
To: [log in to unmask]
Subject: Re: The entity "hearts" was referenced, but not declared



FWIW I get the same error in XMetaL.  Not sure why...

 

From: Encoded Archival Description List [mailto:[log in to unmask]] On Behalf Of Elizabeth H Dow
Sent: Tuesday, January 31, 2012 3:07 PM
To: [log in to unmask]
Subject: The entity "hearts" was referenced, but not declared

 

I've run into an issue with oXygen 13.2 that baffles me.

I'm putting together a demonstration of how entities work for a class. I tried to create the note "I &hearts; Ben &amp; Jerry's ice cream" to make my point.

I got the following error message: "The entity "hearts" was referenced, but not declared" and the file does not parse.

I found the following statement at line 907 of the DTD "By default, all declared sets are referenced" which leads me to believe that I do not need to declare the standard ISO entities individually.

Can anyone offer any insight as to why I've hit this problem. FYI, I got the same message for &amp; .

Elizabeth H. Dow
Professor
School of Library and Information Science
Louisiana State University



*********************************************************************
This email and any files transmitted with it are intended solely for
the use of the addressee(s) and may contain information that is
confidential or subject to legal privilege. If you receive this email
and you are not the addressee (or responsible for delivery of the
email to the addressee), please note that any copying, distribution
or use of this email is prohibited and as such, please disregard the
contents of the email, delete the email and notify the sender
immediately.

State Records advises that this email and any attached files should
be scanned to detect viruses and accepts no liability for loss or
damage (whether caused by negligence or not) resulting from the use
of any attached files.
*********************************************************************