My favorites | Sign in
Project Home
READ-ONLY: This project has been archived. For more information see this post.
Search
for
  Advanced search   Search tips   Subscriptions
Issue 53: TouchXML XPath issue
1 person starred this issue and may be notified of changes. Back to list
Status:  Invalid
Owner:  ----
Closed:  Apr 2009


 
Reported by thbkr...@gmail.com, Mar 30, 2009
What steps will reproduce the problem?
1. Create a NSXMLDocument parser and a CXMLDocument
2. Launch an XPath query as //p[@class]
3. Watch the result

What is the expected output? What do you see instead?
The NSXMLDocument gives an array of item whereas the CXMLDocument gives no
result at all.

What version of the product are you using? On what operating system?
The last svn checkout : rev283

Please provide any additional information below.
The parsed document is an html page which was tidyfied before.

Is XPath fully functionnal ?

A simple query like //p fail.
WRTouchParser.m
1.2 KB   View   Download
Apr 18, 2009
Project Member #1 jwight
Please provide SOURCE XML.

I cannot test this if source xml is not provided.
Status: Invalid
Apr 19, 2009
#2 thbkr...@gmail.com
Sorry, it was only a namespace error. I've looking for some documentation, and the NSXMLDocument doesn't 
require you to set a namespace.
Apr 19, 2009
Project Member #3 jwight
Yeah. I do need to add document for namespaces. Thanks.

Powered by Google Project Hosting