TEIC / Stylesheets

TEI XSL Stylesheets
228 stars 124 forks source link

docxtotei generates invalid output #604

Open lb42 opened 1 year ago

lb42 commented 1 year ago

Processing a docx file from Google docs generates two different kinds of validation error: a) anchor elements are created with an @xml:id whose value is transferred from a docx @id value without checking that it is syntactically correct i.e. is an XML name. Sometimes it isn't. b) elements <list> and <table> appear as siblings of <p>. This is ok inside <body> but not inside <front> . I am not sure how the convertor knows to produce <front> rather than <body> but if it's smart enough to do that it should get the content right too.