Highlighted
Jevans78 Absent Member.
Absent Member.
502 views

Delimited text driver unable to write XML

Hi,

we have a situation where a delimited text driver is unable to write the XML. The rules and policy appear correct and the path that the output file is written to exists and is accessible.

L3 trace of an example event is located here:

https://pastebin.com/cqbgs7QP

Is anyone any to help point us in the right direction for troubleshooting? The trace doesn't seem to indicate the problem that I can see.

Many thanks
Labels (1)
Tags (2)
0 Likes
7 Replies
Knowledge Partner
Knowledge Partner

Re: Delimited text driver unable to write XML

On 12/9/2018 6:14 AM, Jevans78 wrote:
>
> Hi,
>
> we have a situation where a delimited text driver is unable to write the
> XML. The rules and policy appear correct and the path that the output
> file is written to exists and is accessible.
>
> L3 trace of an example event is located here:
>
> https://pastebin.com/cqbgs7QP
>
> Is anyone any to help point us in the right direction for
> troubleshooting? The trace doesn't seem to indicate the problem that I
> can see.


Does not look like XML you are trying to write?

0 Likes
Jevans78 Absent Member.
Absent Member.

Re: Delimited text driver unable to write XML

Thanks Geoff,

the output file extension is set as .txt so I'm not expecting that to be XML

The output file is just a list of CNs that the driver processes. I'm not even sure if the XML error in the log is the output file, or something within the driver.
0 Likes
Knowledge Partner
Knowledge Partner

Re: Delimited text driver unable to write XML

On 12/09/2018 05:44 AM, Jevans78 wrote:
>
> the output file extension is set as .txt so I'm not expecting that to be
> XML


The file extension is irrelevant anyway; names are just for humans, mere
mortals; see Shakespeare's comments on roses for more on that.

> The output file is just a list of CNs that the driver processes. I'm not
> even sure if the XML error in the log is the output file, or something
> within the driver.


Could we please get the driver trace from startup? That should show us
where the file is really going to be written, and we can compare that with
details you provide about where you think the file will be written, and
maybe something will stand out as being off, e.g. pointing to a file
instead of a directory.

--
Good luck.

If you find this post helpful and are logged into the web interface,
show your appreciation and click on the star below.

If you want to send me a private message, please let me know in the
forum as I do not use the web interface often.
0 Likes
Knowledge Partner
Knowledge Partner

Re: Delimited text driver unable to write XML

On 12/9/2018 7:44 AM, Jevans78 wrote:
>
> Thanks Geoff,
>
> the output file extension is set as .txt so I'm not expecting that to be
> XML


I forget if there is a setting that expects XML but it possible it is
looking for valid XML to parse and write versus simly writing text.

> The output file is just a list of CNs that the driver processes. I'm not
> even sure if the XML error in the log is the output file, or something
> within the driver.
>
>


0 Likes
Knowledge Partner
Knowledge Partner

Re: Delimited text driver unable to write XML

On 12/9/2018 1:33 PM, Geoffrey Carman wrote:
> On 12/9/2018 7:44 AM, Jevans78 wrote:
>>
>> Thanks Geoff,
>>
>> the output file extension is set as .txt so I'm not expecting that to be
>> XML

>
> I forget if there is a setting that expects XML but it possible it is
> looking for valid XML to parse and write versus simly writing text.


I looked on a Delim Text driver I just imported, and what I was
remembering was not there. I was thinking of Stefaan's Generic File
Driver where you select a method of writing out, and XML is an option
there I think.


0 Likes
Knowledge Partner
Knowledge Partner

Re: Delimited text driver unable to write XML

On 12/09/2018 11:36 AM, Geoffrey Carman wrote:
> On 12/9/2018 1:33 PM, Geoffrey Carman wrote:
>> On 12/9/2018 7:44 AM, Jevans78 wrote:
>>>
>>> Thanks Geoff,
>>>
>>> the output file extension is set as .txt so I'm not expecting that to be
>>> XML

>>
>> I forget if there is a setting that expects XML but it possible it is
>> looking for valid XML to parse and write versus simly writing text.

>
> I looked on a Delim Text driver I just imported, and what I was
> remembering was not there. I was thinking of Stefaan's Generic File Driver
> where you select a method of writing out, and XML is an option there I think.


Right; with the NetIQ version I think you just unlink the output
transformation stylesheet that converts from XML to something else
(CSV-ish normally). Not as easy as the drop-down, but that's about par.

--
Good luck.

If you find this post helpful and are logged into the web interface,
show your appreciation and click on the star below.

If you want to send me a private message, please let me know in the
forum as I do not use the web interface often.
0 Likes
ksoze Absent Member.
Absent Member.

Re: Delimited text driver unable to write XML

Post the driver export and a L5 trace. As Mr Geoff says, it might not be valid XML you're trying to write.

CFN,

/KS
0 Likes
The opinions expressed above are the personal opinions of the authors, not of Micro Focus. By using this site, you accept the Terms of Use and Rules of Participation. Certain versions of content ("Material") accessible here may contain branding from Hewlett-Packard Company (now HP Inc.) and Hewlett Packard Enterprise Company. As of September 1, 2017, the Material is now offered by Micro Focus, a separately owned and operated company. Any reference to the HP and Hewlett Packard Enterprise/HPE marks is historical in nature, and the HP and Hewlett Packard Enterprise/HPE marks are the property of their respective owners.