cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
Showing results for 
Search instead for 
Did you mean: 

SIM: Parsing of translation package during import

SIM: Parsing of translation package during import

Hello!

When Windchill Service Information Manager imports translated translation packages pack into the system, there is currently NO parsing of the incoming XML-data happening.

We'd like to see the following enhancements to SIM:

- When Windchill imports a translation package, all the XML-files should be parsed according to their DTD/XML Schema: this might be implemented as an optional step, so that people still can take the risky road of importing invalid data back.

- It must be possible to define default and customized DTD's and XML Schemas for parsing for each document type.

- It should be possible to define, what should happen, if parsing fails:

=> a) reject the whole package with a self-explaining log-message, containing the parser errors

or

=> b) import the whole package anyway and set only(!) all invalid files to a specific lifecycle-state, such as "translation review needed" or s.th. like that.

Kind regards,

your WindchllTeam@DATACOPY

4 Comments
Granite

For 11.0 M030 we have implemented a hook so that you can write your own hook code for Schema/DTD validation.  This will be called when the Translation Package is imported.

Marble

Did anybody already try out this new feature?

We will try in the very near future, but documentation is very limited. We would be better prepared if anybody could point us in the right direction or warn us for any pitfalls.

Regular Member

Was this ever tried out? Is there any more documentation for this?

Marble

We tried it. It works. But we had to disable it again because our legacy data contains too many DTD inconsistencies. We have to bulk transform our XML data first.

 

The information is limited. You can search the Windchill Help Center for "CustomXMLValidationHook". This gives the following relevant pages: