In the excellent book From Holomorphic Functions to Complex Manifolds by Klaus Fritzsche and Hans Grauert, if I follow the definition and properties of analytic subsets and the definition of a complex submanifold $A$ of a complex manifold $X$, then $A$ is necessary closed in $X$ :
"From the definition (of analytic subset) it follows that $A$ is a closed subset of $X$."
"An analytic set $A\subset X$ is called regular of codimension $d$ at a point $p\in A$ if..."
"If $A$ is regular at every point, $A$ is called a complex submanifold of $X$."
However, a few pages further, there are a few exercises with mentions of "closed submanifolds". For example, one of them starts like this : "Let $f:X\to Y$ be a holomorphic map and $Z\subset Y$ a closed submanifold..."
Am I missing something?
Thanks in advance for any information.