in reply to Re: Error decoding XML
in thread Error decoding XML
Indeed. XML::Simple treats string arguments other than those containing a < eventually followed by a > as filenames, not XML documents. XML documents SHOULD (as opposed to MUST) start with a decleration (looks like <?xml version="1.0"?>), so it's not a bad way of differentiating file names from XML strings.
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^3: Error decoding XML
by Hammy (Scribe) on Jan 24, 2005 at 17:23 UTC | |
by ikegami (Patriarch) on Jan 24, 2005 at 17:31 UTC |