Ejemplo n.º 1
0
 public override void startElement(JNodeName nameCode, JSchemaType typeCode, JLocation location, int properties)
 {
     if (ended)
     {
         JXPathException e = new JXPathException("Only a single root node can be written to an XdmDestination");
         throw new DynamicError(e);
     }
     base.startElement(nameCode, typeCode, location, properties);
     level++;
 }
Ejemplo n.º 2
0
 public override void startElement(JNodeName nameCode, JSchemaType typeCode, int locationId, int properties)
 {
     if (this.locationId == -1)
     {
         this.locationId = locationId;
     }
     base.startElement(nameCode, typeCode, locationId, properties);
 }