473,379 Members | 1,317 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,379 software developers and data experts.

XML_ERR_RESERVED_XML_NAME

I am using xml_parse_into_struct on php version 5.0.3 and am getting
the error message "Reserved XML Name" (using
xml_error_string(xml_get_error_code($parser))) while attempting to
process even the simplest of files.

e.g.

<?xml version='1.0'?>
<chapter>
<book>A title</book>
</chapter>

I have been able to uncover the error code for the message in the XML
Parser which is:

XML_ERR_RESERVED_XML_NAME

I have also undercovered a hint that the code might mean an invalid
name prefix.

I am reasonably sure that my code worked before I upgraded my server to
the lastest version (though I cannot recall the version of php in the
last copy).

Does anyone know the exact meaning of the error code I am getting?

Could this be a bug in php or the xml extension? I have searched and
found some bugs in previous versions that related to the use of the xml
extension in objects could this be the case here?
Thanks for any help you can give me

Ben

Jul 17 '05 #1
0 1355

This thread has been closed and replies have been disabled. Please start a new discussion.

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.