Benches Uncategorized

0

NSXMLParser error code 100 from invalid default namespace

apple Verified

Imported from the Apple Support Forums via the Wayback Machine 🔗

Hi all,

With the xml:

<abc xmlns="default" />

NSMXLParser generates a NSXMLParserError 100 which does not appear in the header file for NSXMLParser.

If I then change the xml to:

<abc xmlns="http://default" />

It works and parses the xml. So I figure that an error 100 means invalid default schema url or something like that.

However if I have an invalid schema url on a prefixed schema, it does not appear trigger the error. For example:

<x:abc xmlns:x="default" />

Can anyone confirm this?

iao

Derek

0 replies

Sign in or join Beachball Help to reply.