How to enable XML_PARSE_HUGE for << XPath()?I ran into some issues when running one older script using XPath. I got error message "Excessive depth in document: 256 use XML_PARSE_HUGE option". So how can that option be enabled? I found old post where someone has faced the same issue but there is no solution (question wasn't about this issue) Scripting Y Axis to be Log scale .
Names Default To Here(1);
dt = Open("$SAMPLE_DATA/Wafer Stacked.jmp");
gb = dt << Graph Builder(
Size(490, 62454),
Show Control Panel(0),
Variables(X(:X_Die), X(:Y_Die), Page(:Lot_Wafer Label)),
Elements(Position(1, 1), Box Plot(X, Legend(8))),
Elements(Position(2, 1), Box Plot(X, Legend(9))),
Invisible
);
rep = Report(gb);
Try(
rep << XPath("//AxisBox");
,
show(exception_msg);
);
gb << Close Window;
Close(dt, no save);
I can do what I want with some looping but I would prefer if I could (at least attempt) to do it by using XPath and sending single message to the list of references.
Automation and ScriptingWindowsBetreff: Wie aktiviere ich XML_PARSE_HUGE für << XPath()?Hallo @jthi ,
Haben Sie jemals etwas für diesen Fehler gefunden? Es bringt mich um, Skripte zu verwenden, um viele Ebenen zu formatieren, wenn ich die Option „Seite“ im Graph Builder verwende und in Zeilen anordne.
Danke
Steve
Betreff: Wie aktiviere ich XML_PARSE_HUGE für << XPath()?Nein, habe ich nicht. In einer Anwendung habe ich eine Art Schleife eingebaut, in einer anderen hätte es wohl ausgereicht, XPath zu modifizieren, und in der dritten habe ich XPath wohl in kleineren Teilen verwendet.
This might also work for Graph Builder + Page: try creating it first without Page, make modifications and then add the Page</CODE></P>
<PRE><CODE class=" language-jsl">Names Default To Here(1);
dt = Open("$SAMPLE_DATA/Wafer Stacked.jmp");
gb = dt << Graph Builder(
Show Control Panel(0),
Variables(X(:X_Die), X(:Y_Die)),
Elements(Position(1, 1), Box Plot(X, Legend(8))),
Elements(Position(2, 1), Box Plot(X, Legend(9))),
Invisible
);
rep = Report(gb);
rep[AxisBox(2)] << Show Major Grid(1); // modify frame / axis
gb << Add Variable({:Lot_Wafer Label, Role("Wrap")}); // add page
gb << Size(490, 62454); // set size if needed
Ich kann am Montag nachsehen, ob ich den "neuesten" Fall finde, mit dem ich mich befassen musste (höchstwahrscheinlich war es genau dieser Fall).