Print

Print


Thanks for this Richard. It's very helpful. It worked for me in an ead document *except* I had to keep the  "ead.dtd" I had in my DTD declaration.  As in:

Original:
<!DOCTYPE ead PUBLIC "+//ISBN 1-931666-00-8//DTD ead.dtd (Encoded Archival Description (EAD) Version 2002)//EN" "ead.dtd" >

New:
<!DOCTYPE ead PUBLIC "+//ISBN 1-931666-00-8//DTD ead.dtd (Encoded Archival Description (EAD) Version 2002)//EN" "ead.dtd" [<!ENTITY % xmlchar 'INCLUDE'>]>

Maury Bouchard
Simmons College


________________________________
 From: "Lehane, Richard" <[log in to unmask]>
To: [log in to unmask] 
Sent: Tuesday, January 31, 2012 7:43 PM
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.
*********************************************************************