Skip to main content
Solved

Trouble with XMLfragmenter v5

  • February 27, 2019
  • 6 replies
  • 32 views

Forum|alt.badge.img

 

XML fragmenter settings:

(identical for v3 and v5).

I have trouble getting the v5 of XML fragmenter to work - for some reason, it rejects ANY xml I throw at it. Even examples straight out of www.w3schools.com. The above examle is rejected with XML parser error: unable to open primary document entity '<xml version="1.0" ...

 

The old trusty v3 works fine. In the above example, i used copy-paste from an older workspace I had lying around.

Anybody else who has trouble with this?

FME(R) 2018.1.0.2 (20180903 - Build 18547 - WIN64)

 

Best answer by takashi

Hi @hektopascal, you will have to select "Attribute with XML document" in the XML Source Type, and set "_response_body" to the XML Attribute parameter.

 

View original
Did this help you find an answer to your question?

6 replies

takashi
Evangelist
  • February 27, 2019

I was not able to reproduce the situation with v5 in FME 2018.1.0.3 and 2018.1.1.2.

Could you please post the parameters dialog of v5?


Forum|alt.badge.img
  • Author
  • February 28, 2019

Sure thing, will do! But isn't it easier just to download the provided workspace error-xmlfragmenter.fmw?


Forum|alt.badge.img
  • Author
  • February 28, 2019

 

Seems pretty basic and straightforward for me...

If you can't reproduce it @takashi then that is a strong hint that something is wrong with my FME installation. Frankly, that seems more likely than just me complaining about this error (or "radical change in behaviour" in more palatable terms).


takashi
Evangelist
  • Best Answer
  • February 28, 2019

Hi @hektopascal, you will have to select "Attribute with XML document" in the XML Source Type, and set "_response_body" to the XML Attribute parameter.

 


Forum|alt.badge.img
  • Author
  • February 28, 2019
takashi wrote:

Hi @hektopascal, you will have to select "Attribute with XML document" in the XML Source Type, and set "_response_body" to the XML Attribute parameter.

 

Embarassed? Moi? YES... absolutely.

Thank you very much @takashi, you absolutely ROCK!


takashi
Evangelist
  • February 28, 2019
takashi wrote:

Hi @hektopascal, you will have to select "Attribute with XML document" in the XML Source Type, and set "_response_body" to the XML Attribute parameter.

 

Don't worry, I also sometimes make similar mistakes ;-)


Reply


Cookie policy

We use cookies to enhance and personalize your experience. If you accept you agree to our full cookie policy. Learn more about our cookies.

 
Cookie settings