Any ideas why i would get this error when creating and HTML DDR?
Ps i wiped out the contents of my app data local temp and still produced the same error.
PPs I looked at the contents of the temp file in use by windows when it throws the error and, in NotePad++ is shows a US charcter in line 7732. "US" is a control character = Unit Seperator. I examined every custom function, script, parameter, and possible place that a string containing the offending char could be present and found nothing
I scoured the temp file and finally found the location of the single errant character. Wish FM would properly indent the Layout Catalog in the temp file better.
co., what do you mean by “properly indent”? there is no “indent” in xml as far as any application I’ve seen use it. There is an “indent” option for use with XSLT. However that’s merely for human consumption. And yes there are apps that do “indent” for your preview. “Indent" has absolutely nothing to do with the DDR and the problem you are having.:)
Is the Unit Separator character an error that the DDR creates, or do you have the character in any of your objects (including names and field contents)?
Can you paste a snipped of the code where you found this?
This issue is reported sometimes, not only US, any of control codes (except tab/cr/lf and more?).
yes! and the question still is:
does/do the “character(s)” occur IN a field (or label or name) or is it created in the DDR schema?
If you intercept the temp file that is created when HTML DDR is created and open it in Notepad ++ you will see that it is an xml document that has human readable indents from the top of the document down till the layout catalog starts. From the layout catalog to the end their are no indents. Not a bug but definately an opportunity for improvement.
It was not created in the schema. It was an errant ascii code 31 character in a text string set as a optional parmeter for the execution of a script.
How it got there IDK.. means I would have had to unconciously type ALT+0031 while typing text. Pretty sure i would have noticed that.
Retrieving data ...