~zorba-coders/zorba/bugs-912586-912593-912722

« back to all changes in this revision

Viewing changes to test/rbkt/Queries/zorba/parsing_and_serializing/parse-fragment-skip-root-40.xq

  • Committer: Cezar Andrei
  • Date: 2012-03-28 15:42:12 UTC
  • mfrom: (10606.1.129 zorba)
  • Revision ID: cezar.lp@cezarandrei.com-20120328154212-jh2heq49xcqjppce
Merge from trunck and resolve ChangeLog conflict.

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
import module namespace z = "http://www.zorba-xquery.com/modules/xml";
 
2
import schema namespace opt = "http://www.zorba-xquery.com/modules/xml-options";
 
3
 
 
4
z:parse("<?xml version='1.0'?>
 
5
<n1:root xmlns:n1='ns' xmlns:m1='ms'><n2:root2 xmlns:n2='ns2' xmlns:m2='ms2'><n1:from1 xmlns:n3='ns3'><from2>Text from2</from2></n1:from1></n2:root2></n1:root>", 
 
6
  <opt:options>
 
7
    <opt:parse-external-parsed-entity opt:skip-root-nodes="0"/>
 
8
  </opt:options>
 
9
)