Skip to main content
Solved

Trouble with XMLfragmenter v5

  • February 27, 2019
  • 6 replies
  • 52 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.

 

This post is closed to further activity.
It may be an old question, an answered question, an implemented idea, or a notification-only post.
Please check post dates before relying on any information in a question or answer.
For follow-up or related questions, please post a new question or idea.
If there is a genuine update to be made, please contact us and request that the post is reopened.

6 replies

takashi
Celebrity
  • 7843 replies
  • 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
  • 31 replies
  • 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
  • 31 replies
  • 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
Celebrity
  • 7843 replies
  • 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
  • 31 replies
  • 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.

 

Embarassed? Moi? YES... absolutely.

Thank you very much @takashi, you absolutely ROCK!


takashi
Celebrity
  • 7843 replies
  • 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.

 

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