¿Cómo habilitar XML_PARSE_HUGE para << XPath()?Me encontré con algunos problemas al ejecutar un script antiguo usando XPath. Recibí el mensaje de error "Profundidad excesiva en el documento: 256 use la opción XML_PARSE_HUGE". Entonces, ¿cómo se puede habilitar esa opción? Encontré una publicación antigua en la que alguien enfrentó el mismo problema pero no hay solución (la pregunta no era sobre este problema) 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);
Puedo hacer lo que quiera con algunos bucles, pero preferiría poder (al menos intentarlo) hacerlo usando XPath y enviando un solo mensaje a la lista de referencias.
Automatización y secuencias de comandosventanasRe: ¿Cómo habilitar XML_PARSE_HUGE para << XPath()?Hola @jthi ,
¿Alguna vez encontraste algo para este error? Me está matando el uso de scripts para formatear muchos niveles al usar la opción "Página" en Graph Builder y organizar en filas.
Gracias
Steve
Re: ¿Cómo habilitar XML_PARSE_HUGE para << XPath()?No, no lo hice. En una aplicación cambié a una especie de bucle, en otra creo que modificar XPath podría haber sido suficiente y en la tercera creo que hice XPath en partes más pequeñas.
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
Puedo echar un vistazo si puedo encontrar el caso "más reciente" con el que tuve que lidiar (lo más probable es que haya sido este caso exacto) el lunes.