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

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