Hi,

I've taken a look at this.  The problem is that split2po expects each
XML file to contain just one top-level element (e.g., book, article,
whatever).  Your files begin with a <sect2>...</sect2>, followed by
another <sect2>...</sect2>.  It's therefore ignoring the second sect2
completely.

My understanding is that XML only allows a single top-level element
(though please do correct me if I'm wrong).  In this case, the files
1.xml and 2.xml are technically incorrect -- what split2po should do in
this situation is output a meaningful error message.

My guess is that split2po is not even looking for more text after the
top-level element is closed (and so doesn't even realise that
something's wrong).  But I have yet to dig through the source to see for
certain.

b.



-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to