Esempio n. 1
0
 public void BadElementPointer()
 {
     Pointer p = Pointer.Compile("element(1/33/foo)");
 }
Esempio n. 2
0
 public void UnknownSchemePointer()
 {
     Pointer p = Pointer.Compile("xpath1(/foo) foo(abr)");
 }
Esempio n. 3
0
 public void BadNCName()
 {
     Pointer p = Pointer.Compile("foo:bar");
 }
Esempio n. 4
0
 public void CircumflexErrorTest()
 {
     Pointer p = Pointer.Compile("xmlns(p=http://fo^o.com)");
 }
Esempio n. 5
0
 public void EscapingCircumflexTest()
 {
     Pointer p = Pointer.Compile("xmlns(p=http://foo.com^^)");
 }
Esempio n. 6
0
        public void ParenthesisTest()
        {
            Pointer p = Pointer.Compile("xmlns(p=http://foo.com^))");

            p = Pointer.Compile("xmlns(p=http://foo.com^()");
        }
Esempio n. 7
0
 public void SyntaxErrorTest()
 {
     Pointer p = Pointer.Compile("too bad");
 }