You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Generate Tool
Version 0.18.2
Release Date: 2019-10-29 18:09:03
Copyright 2012-2017, by the California Institute of Technology.
ALL RIGHTS RESERVED. United States Government Sponsorship acknowledged.
Any commercial use must be negotiated with the Office of Technology Transfer
at the California Institute of Technology.
This software is subject to U. S. export control laws and regulations
(22 C.F.R. 120-130 and 15 C.F.R. 730-774). To the extent that the software
is subject to U.S. export control laws and regulations, the recipient has
the responsibility to obtain export licenses or other export authority as
may be required before exporting such information to foreign countries or
providing access to foreign nationals.
% generate -p genImgJNC.LBL -t genImgJNC.vm
[Fatal Error] :1:1: Content is not allowed in prolog.
Error applying XSLT to output XML. Verify label and template are correctly formatted.
Content is not allowed in prolog.
Outputting without formatting.
% head -1 genImgJNC.xml

%
The text was updated successfully, but these errors were encountered:
@rchenatjpl copied this issue over from the internal repo, and did a quick look into this. apparently, the .vm you are using has some funky non-UTF8 characters in it that I have no idea how they got int there.
if you run dos2unix on the file first, it cleans those out. in the meantime I will keep this ticket around as a note we need to better handle non-UTF8 characters
jordanpadams
changed the title
weird characters at head of output .xml
update software to better handle and cleanup non-UTF8 characters
Mar 14, 2020
Archive.zip
% generate -version
Generate Tool
Version 0.18.2
Release Date: 2019-10-29 18:09:03
Copyright 2012-2017, by the California Institute of Technology.
ALL RIGHTS RESERVED. United States Government Sponsorship acknowledged.
Any commercial use must be negotiated with the Office of Technology Transfer
at the California Institute of Technology.
This software is subject to U. S. export control laws and regulations
(22 C.F.R. 120-130 and 15 C.F.R. 730-774). To the extent that the software
is subject to U.S. export control laws and regulations, the recipient has
the responsibility to obtain export licenses or other export authority as
may be required before exporting such information to foreign countries or
providing access to foreign nationals.
% generate -p genImgJNC.LBL -t genImgJNC.vm
[Fatal Error] :1:1: Content is not allowed in prolog.
Error applying XSLT to output XML. Verify label and template are correctly formatted.
Content is not allowed in prolog.
Outputting without formatting.
% head -1 genImgJNC.xml

%
The text was updated successfully, but these errors were encountered: