Custom/Irregular XML Tag Driving Me Crazy (SDL Studio Professional 2014)
Thread poster: ATB Translation
ATB Translation
ATB Translation
Türkiye
English to Turkish
+ ...
Apr 25, 2021

Dear All,
Recently I had to take on a translation project comprising of several small-to-middle sized XML files.
I successfully imported and created my own XML parser and it works like a charm!... I had to disable the default Any XML parser for this.
However one specific/custom (irregular?) tag drives me crazy.
I want the XML containing this tag to be segmented before or after the tag (Doesn't matter).
Since it contains a question mark after the opening angle brack
... See more
Dear All,
Recently I had to take on a translation project comprising of several small-to-middle sized XML files.
I successfully imported and created my own XML parser and it works like a charm!... I had to disable the default Any XML parser for this.
However one specific/custom (irregular?) tag drives me crazy.
I want the XML containing this tag to be segmented before or after the tag (Doesn't matter).
Since it contains a question mark after the opening angle bracket and before the closing angle bracket, I cannot add it to xml parser I created. XML parser object to it (Probably because of ? character).
Tag is like "".
Generally this tag is preceeded by a period (.) character.
The XML parser I developed treats this specific tag as "always translateable" and "inline" IN THE RESULTANT TEXT, so it always connects any preceeding and following sentences, messing up our TM.
In another attempt to solve this annoying problem, I tried to create a segmentation rule for it, it fails again miserably. It messes up all (default) punctuation segmentation rules and ends up a very fragmented SLDXLIFF file.
Probably I lack the regular expressions skill needed for this.

Now I manually "split" the segments at that point. However, sometimes studio crashes because of this and I lose some translation segments.

Any ideas?
TIA, Stay Safe and Healthy.
Collapse


 


To report site rules violations or get help, contact a site moderator:


You can also contact site staff by submitting a support request »

Custom/Irregular XML Tag Driving Me Crazy (SDL Studio Professional 2014)







Wordfast Pro
Translation Memory Software for Any Platform

Exclusive discount for ProZ.com users! Save over 13% when purchasing Wordfast Pro through ProZ.com. Wordfast is the world's #1 provider of platform-independent Translation Memory software. Consistently ranked the most user-friendly and highest value

Buy now! »
Protemos translation business management system
Create your account in minutes, and start working! 3-month trial for agencies, and free for freelancers!

The system lets you keep client/vendor database, with contacts and rates, manage projects and assign jobs to vendors, issue invoices, track payments, store and manage project files, generate business reports on turnover profit per client/manager etc.

More info »