Re: [Q] NSXMLDocument & TidyHTML on Leopard
Re: [Q] NSXMLDocument & TidyHTML on Leopard
- Subject: Re: [Q] NSXMLDocument & TidyHTML on Leopard
- From: Kotatsu RIN <email@hidden>
- Date: Thu, 14 Feb 2008 03:25:50 +0900
I add more line:
==
NSLog(@"TidyHTML->Nodes: %d", [cNodes count]);
==
then Logs are:
on Tiger
==
2008-02-14 03:08:38.088 app[2600]TidyHTML->Nodes: 1
==
on Leopard
==
2008-02-14 03:21:16.698 app[2600]TidyHTML->Nodes: 0
==
I don't know why..
Any help or information would be appreciated! Thanks!
Kotatsu R.
On 2008/02/14, at 1:53, Jens Alfke wrote:
>
> On 13 Feb '08, at 7:59 AM, Kotatsu RIN wrote:
>
>> It work fine on Tiger, but doesn't work on Leopard.
>
>> Leopard return nothing for cNodes...
>
> I know there were minor changes to libTidy and XQuery in 10.5, but I wouldn't think those would affect what you're doing.
>
> * Does the document load at all? (Is htmlFileDoc non-nil?)
> * If you convert the doc back to a string, does it look like it contains the nodes you're querying for?)
> * What is the error message (if any) in the 'err' string after the nodesForXPath: call?
> * What's the XPath expression?
>
> ―Jens
_______________________________________________
Cocoa-dev mailing list (email@hidden)
Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden