Thanks so much, James—this will be very handy if I can’t persuade admin to invest in the upgraded oXygen. But I’m definitely ready for the upgrade if they are willing to make it possible. (Running 14—feeling ancient . . . )
Just to note that you do not necessarily need to update your oxygen in order to update your TEI framework! (Not that I want to do the oxygen folks out of money, if your institution will buy a new version then go ahead!)
A quite dated post by me showing how you can update your TEI Framework is at https://faqingperplxd.wordpress.com/2014/04/02/auto-update-your-tei-framework-in-oxygen/
Hope that helps!
Dr James Cummings, Academic IT Services, University of Oxford
On 14 Jul 2017 16:30, Ondine LeBlanc <[log in to unmask]> wrote:
Thanks so much, David! This is exactly the problem. Apparently my (woefully stale) version of oXygen is looking at P5 2.1.0, at which time <lg> was not allowed in <p>.
Time for me to demand that upgrade!
From: Sewell, David R. (drs2n) [mailto:[log in to unmask]]
Sent: Friday, July 14, 2017 11:11 AM
To: Ondine LeBlanc
Cc: [log in to unmask]
Subject: Re: [TEI-L] line group within paragraph?
A first step would be to see what version of the TEI Guidelines schemas your version of oXygen is using. In oXygen, click Help - About - Frameworks and scroll down until you see "TEI P5". Note the version number.
Then you can go to the TEI Previous Releases page:
and investigate what the reference for the <lg> element says for the version you're using.
It does look like <p> did not permit an <lg> child if you go back far enough in the release history.
On Fri, 14 Jul 2017, Ondine LeBlanc wrote:
> Hi, all--
> I'm not sure if this is a glitch at my end or with the schema as I am validating against it, but I am getting a validation error when I try to encode lines of verse within a paragraph. Over the years we have done this many times in our texts, usually when a letter includes a few lines of verse and the author clearly continues the paragraph (and sometimes even the sentence) around those verse lines. It wasn't a problem in terms of validation. But this morning I am getting an error saying that <lg> is not allowed here I have it.
> In order to determine if the error was something other than the p/lg nesting, I tested it using a generic TEI template in oXygen:
> <?xml version="1.0" encoding="UTF-8"?> <?xml-model
> ll.rng" schematypens="http://relaxng.org/ns/structure/1.0"?>
> <p>Publication Information</p>
> <p>Information about the source</p>
> <p>Some text
> Even here, I get an error message as soon as I add the <lg> within the paragraph.
> I am using a much outdated version of oXygen (14), but that shouldn't make a difference, right?
> BTW, the guidelines seem to indicate that this should be valid:
> http://www.tei-c.org/release/doc/tei-p5-doc/en/html/ref-lg.html includes "p" as the elements "lg" can be contained by.
> Thanks for any assistance or insight!
> The Irish Atlantic: A Story of Famine, Migration, & Opportunity is on display at the MHS Monday through Saturday from 10 AM to 4 PM through 22 September. More information is available at www.masshist.org.
> Ondine LeBlanc, Worthington C. Ford Editor of Publications
> Massachusetts Historical Society
> 1154 Boylston Street, Boston, MA 02215
> Phone: 617-646-0524, Fax: 617-859-0074
> Email: [log in to unmask]
Manager of Digital Initiatives
The University of Virginia Press
Email: [log in to unmask] Tel: +1 434 924 9973
The Irish Atlantic: A Story of Famine, Migration, & Opportunity is on display at the MHS Monday through Saturday from 10 AM to 4 PM through 22 September. More information is available at www.masshist.org.
Ondine LeBlanc, Worthington C. Ford Editor of Publications
Massachusetts Historical Society
1154 Boylston Street, Boston, MA 02215
Phone: 617-646-0524, Fax: 617-859-0074
Email: [log in to unmask]