augeas XML lens parse_error with XML document using single quotes

Solution Verified - Updated -

Issue

when parsing a document with a prolog like the following augeas gives a parse_error:

<?xml version='1.0'?>

After replacing the single quotes with double quotes the document is parsed without error:

<?xml version="1.0"?>

Environment

  • Red Hat Enterprise Linux 6.2
  • Augeas XML Lens

Subscriber exclusive content

A Red Hat subscription provides unlimited access to our knowledgebase of over 48,000 articles and solutions.

Current Customers and Partners

Log in for full access

Log In
Close

Welcome! Check out the Getting Started with Red Hat page for quick tours and guides for common tasks.