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
I am dynamically loading and saving yaml files to conform to a dynamic schema of locales that I am building. With that, I use YamlStream and the Yaml*Node's to construct and read from the loaded documents.
I got to the saving portion of the code and I am experiencing some weird behavior where the first value of a mapping inserts some string integers preceded by a &.
common_fr:
help_l: &1722725615 ''help_u: ''
...
Note that is only occurs when creating a new file and saving the schema to it. When I save to an already existing file to update it, the string does not appear. The file is able to be read in correctly even with the string but I have a feeling it shouldn't be there.
Here is the portion of code I use to do the writing:
Looking to the code base a bit, and eventually to some other documentation, I can see that it is inserting anchors. I need to call Save(TextWriter, Bool) where bool needs to be false for 'assignAnchors'.
I am dynamically loading and saving yaml files to conform to a dynamic schema of locales that I am building. With that, I use YamlStream and the Yaml*Node's to construct and read from the loaded documents.
I got to the saving portion of the code and I am experiencing some weird behavior where the first value of a mapping inserts some string integers preceded by a &.
Note that is only occurs when creating a new file and saving the schema to it. When I save to an already existing file to update it, the string does not appear. The file is able to be read in correctly even with the string but I have a feeling it shouldn't be there.
Here is the portion of code I use to do the writing:
The text was updated successfully, but these errors were encountered: