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, tools, and much more.

Current Customers and Partners

Log in for full access

Log In

New to Red Hat?

Learn more about Red Hat subscriptions

Using a Red Hat product through a public cloud?

How to access this content