Page 1 of 1

w:body within w:r

PostPosted: Wed Aug 09, 2017 12:33 am
by tommci14
I have some documents with <w:body> tags within <w:r>

These tags are not represented in the docx4j object structure - they are not in the list returned by getContents() - so the contents of them are lost.

Is this something that could be supported?

Thanks.

Re: w:body within w:r

PostPosted: Wed Aug 09, 2017 9:31 am
by jason
tommci14 wrote:<w:body> tags within <w:r>


That is not a valid structure according to the OpenXML xsd's or spec. You need to fix your documents!