element not allowed here

Having trouble installing <oXygen/>? Got a bug to report? Post it all here.
Posts: 1
Joined: Thu Jul 26, 2018 6:54 pm

element not allowed here

Post by karanda » Thu Jul 26, 2018 7:09 pm

Code: Select all

<?xml version="1.0" encoding="UTF-8"?>
<?xml-model href="../Downloads/tei_BOO(1).rng" type="application/xml" schematypens="http://relaxng.org/ns/structure/1.0"?>
<TEI xmlns="http://www.tei-c.org/ns/1.0">
<graphic url="Page1.jpg"/>
<graphic url="Page2.jpg"/>
<graphic url="Page3.jpg"/>
<graphic url="Page4.jpg"/>
<graphic url="Page5.jpg"/>
<graphic url="Page6.jpg"/>
<pb facs="Page1.jpg">
<l>text<hi rend="superscript">highlighted</hi> Ship </l>
<l>more text </l>
This is my TEI-ODD customization and I have several issues...

I am uploading this to an exist-db, I then used TEI-publisher for making an example database with which I wanted to further learn using oxygen, using TEI AND using exist-sb.
Could not load document /Unbenannt.xml. Maybe it is not valid TEI or not in the TEI namespace?
I used the ODD, that I used above - I assume I forgot something .... (and yes, the Document exists! )

(2) my <pb><pb/> tags from above are "not allowed here", I cannot figure out why, I copied that frome an example using Pages and.

(3) My Page1.jpg and so forth are in apps/MyApp/data ; I assume the Path I entered incorrect, (figure I should change it to apps/MyApp/data/Pagex.jpg, but I cannot check .... as nothing works)

I hope anyone can help with any of these questions ... I know that these are probably basic, but the trouble with all of them together is really frustrating ... ( I am training, so that I can transcribe a whole book as a part of my PhD-Project and I start to dislike the stuff ...)

every answer is highly appreciated,

Posts: 670
Joined: Wed Nov 16, 2005 11:11 am

Re: element not allowed here

Post by alex_jitianu » Tue Jul 31, 2018 4:12 pm


I assume that you don't have any validation errors if you open this document inside Oxygen , right? I'm thinking that perhaps TEI Publisher doesn't have access to your schema: tei_BOO(1).rng . Unfortunately I don't have any experience working with TEI Publisher but I believe you will find such persons on the TEI email list: TEI-L@LISTSERV.BROWN.EDU

Best regards,

Post Reply