glCallList() and glNewList()

Hi All,
Can a glCallList() be nested in a glNewList()?
glNewList(triangle, GL_COMPILE);

glEndList();

glNewList(rectangle, GL_COMPILE);

glCallList(triangle);
glEndList();

if I substitute glCallList() with another glNewList(), it worked. Is there any solid “knowledge” that I miss?
Thanks.

glCallList(s) can be nested inside a glNewList glEndList pair. GL_INVALID_OPERATION is generated for glNewList to be called after a glNewList and before a glEndList.