Talk About Network

Google


Register and Login
Nick
Password
Register create new account Sign up is FREE and you can post replies, new topics, bookmark posts and more!
Recover lost password


Mac > Mac Programmer Help > Re: Tiger bug i...
Latest [ Topics | Posts ] Archive Post A New Topic Post a Reply
<< Topic < Post Post 9 of 14 Topic 3726 of 3882
Post > Topic >>

Re: Tiger bug in NSXMLParser?

by Lorenzopt <lorenzo@[EMAIL PROTECTED] > May 1, 2008 at 10:25 AM

Tom Harrington wrote:
> In article <1sime5-cj8.ln1@[EMAIL PROTECTED]
>,
>  Lorenzopt <lorenzo@[EMAIL PROTECTED]
> wrote:
> 
>> Tom Harrington wrote:
>>> In article <oster-21267B.20023929042008@[EMAIL PROTECTED]
>,
>>>  David Phillip Oster <oster@[EMAIL PROTECTED]
> wrote:
>>>
>>>> I'm not. XML is supposed to be an all-or-nothing deal. If "tidy" says

>>>> there are errors, then a valid XML parser shouldn't parse it. A valid

>>>> parser SHOULD return an error in this case.
>>>>
>>>> Oh well, maybe NSXMLDo***ent is in some weird HTML compatibility
mode.
>>> NSXML is also surprisingly flexible when it comes to doing Xpath
lookups 
>>> on do***ents with default namespaces.  As in, you can leave the 
>>> namespaces out of the lookup path and still get results.
>>>
>> It sure is. I've used it and it works quite nicely.
> 
> In context though, what I meant is that this is not how the spec says 
> Xpath is supposed to work.  It's certainly convenient that it works this

> way, but it's a spec violation.

OK, I understand your point, but I'm not much of an XML person. What I'm 
doing brings me into it for the first time, so I'm happy to find a 
workaround. So, my question then is this:
What options does one have if parsing an XML do***ent fails due to 
malformed content? If one does not control the XML source, what can be
done?
 




 14 Posts in Topic:
Tiger bug in NSXMLParser?
Can I Get a Word In <l  2008-04-28 20:37:10 
Re: Tiger bug in NSXMLParser?
David Phillip Oster <o  2008-04-28 22:07:55 
Re: Tiger bug in NSXMLParser?
Lorenzopt <lorenzo@[EM  2008-04-29 12:20:54 
Re: Tiger bug in NSXMLParser?
Can I Get a Word In <l  2008-04-29 20:18:40 
Re: Tiger bug in NSXMLParser?
David Phillip Oster <o  2008-04-29 20:02:39 
Re: Tiger bug in NSXMLParser?
Tom Harrington <tph@[E  2008-04-30 09:22:04 
Re: Tiger bug in NSXMLParser?
Lorenzopt <lorenzo@[EM  2008-04-30 11:20:49 
Re: Tiger bug in NSXMLParser?
Tom Harrington <tph@[E  2008-04-30 12:57:32 
Re: Tiger bug in NSXMLParser?
Lorenzopt <lorenzo@[EM  2008-05-01 10:25:17 
Re: Tiger bug in NSXMLParser?
David Phillip Oster <o  2008-05-01 19:25:01 
Re: Tiger bug in NSXMLParser?
Lorenzopt <lorenzo@[EM  2008-04-30 10:14:39 
Re: Tiger bug in NSXMLParser?
Sherman Pendley <spamt  2008-05-02 00:49:43 
Re: Tiger bug in NSXMLParser?
Tom Harrington <tph@[E  2008-04-29 13:53:10 
Re: Tiger bug in NSXMLParser?
Can I Get a Word In <l  2008-04-29 20:16:51 

Post A Reply:
  Go here to Signup

AddThis Feed Button


About - Advertising - Contact - Frequently Asked Questions - Privacy Policy - Terms of Use - Signup

Contact
tan12V112 Fri Dec 5 10:49:17 CST 2008.