Skip to main content
Question

Error in my FME-template

  • July 22, 2026
  • 4 replies
  • 109 views

leen
Contributor
Forum|alt.badge.img+6

How do i fix this error:

 

 

4 replies

desiree_at_safe
Safer
Forum|alt.badge.img+24

The error indicates that the PDF_Reference attribute is expecting a file path with a .pdf extension. Ensuring that the attribute value ends with .pdf should resolve that specific schema error.

If you haven't already, you can also run your features through the XMLValidator transformer to catch schema mismatch issues early in your workspace workflow.

If you're still stuck, would you be open to sharing your workspace as an FME Workspace Template (.fmwt) file? Including sample data makes it much easier for the community to help troubleshoot!

Screenshots of your workspace also work if you can’t really share that FMWT! 
 


leen
Contributor
Forum|alt.badge.img+6
  • Author
  • Contributor
  • August 24, 2026

Hello Desiree,

Thank you for your response, I have made a mistake by connecting a pdf-file whilst this was not available.


leen
Contributor
Forum|alt.badge.img+6
  • Author
  • Contributor
  • August 26, 2026

Hello,

I would like all my “Relation” (this time 4 relations (see xml) to be connected to my “item” in TeamCenter.
The item name in TeamCenter is: [Item] Breakdown Element Identifier 5511_2111
In other words I would like to change the itemId="T1000000711" (see xml) into 5511_2111.
So all of my 4 “Relation” will be connected to “5511_2111” in TeamCenter.

 

Herewith my xml-file:

<?xml version="1.0" encoding="UTF-8"?>
<TeamcenterUploadStructure xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="../importTC.xsd">
                <Header>
                                <Name>ItemDocs_Alunaut_New_drawings_20252611.xml</Name>
                                <TimeStamp>2026-08-19T08:09:40.0675715</TimeStamp>
                                <Author>
                                                <Name>Leen Rossieau</Name>
                                </Author>
                                <Organization>
                                                <Name>Ministry of Defence</Name>
                                </Organization>
                                <DataPackageID>Concept opleverpakket ASWF</DataPackageID>
                                <Brex>
                                                <Contract>CSS</Contract>
                                                <Version>C2</Version>
                                </Brex>
                </Header>
                <Items>
                                <Item objectType="QS4SInstallPos" itemId="T1000000711" itemName="RADAR STATUS- &amp; CONTROL PANEL" crud="" status="">
                                                <Revisions>
                                                                <Revision objectType="QS4SInstallPosRevision" revisionId="00" crud="U" status="">
                                                                                <Relations>
                                                                                                <Relation objectType="Relation" itemIdRef="T1000063853" revisionIdRef="00" crud="C" relationType="IMAN_specification"/>
                                                                                                <Relation objectType="Relation" itemIdRef="T1000063987" revisionIdRef="00" crud="C" relationType="IMAN_specification"/>
                                                                                                <Relation objectType="Relation" itemIdRef="T1000063719" revisionIdRef="00" crud="C" relationType="IMAN_reference"/>
                                                                                                <Relation objectType="Relation" itemIdRef="T1000064161" revisionIdRef="00" crud="C" relationType="IMAN_reference"/>
                                                                                </Relations>
                                                                                <Properties>
                                                                                                <Property logicalName="object_name">
                                                                                                                <Value>RADAR STATUS- &amp; CONTROL     PANEL</Value>
                                                                                                </Property>
                                                                                </Properties>
                                                                </Revision>
                                                </Revisions>
                                </Item>
                </Items>
</TeamcenterUploadStructure>



Which transformer should I use to establish this?


kailinatsafe
Safer
Forum|alt.badge.img+24
  • Safer
  • September 10, 2026

Hi ​@leen, glad to hear the namedReferenceFilename error is resolved. Since you have an application schema available, you may want to consider the XSD-Driven XML Writer. It writes XML documents based on the XSD you provide, so element names, nesting and order are derived from the schema rather than defined manually. This article series covers how the format works in FME Form, but please let me know if you have any questions. Happy to help, Kailin.