Please elaborate on "it's common to accidentally append debug output when serving XML documents via CF.". Thanks.
Don
>> > This might be a stupid question, but are you sure your XSL
>> > file and your original XML file are both well-formed?
>>
>> Even if they are not, the parser should be good enough to
>> parse what it can and ignore with notes of what it can't.
>> Same as when we write a program we need to add data
>> validation element. Reasonable?
>
>Unfortunately for you, that's not how XML parsers work. If a file isn't
>well-formed, for any reason at all, the XML parser will not recognize it as
>XML. In fact, you could argue that it's not XML if it's not well-formed - it
>just looks a lot like XML.
>
>This is one of the defining characteristics of XML, and is one of the
>reasons for its ubiquity. XML parsers can be much smaller than HTML parsers,
>for example, because they are intolerant of malformed documents.
>
>> Besides, in this case, the XSL files are not up to me whether
>> they are well-formed or not.
>
>If you're getting them from somewhere else, they probably are well-formed,
>but perhaps you're appending data to them accidentally. For example, it's
>common to accidentally append debug output when serving XML documents via
>CF.
>
>> Thank for the great info. I haven't looked at / familarize
>> myself with these new tags. Funny, when I viewed sample for
>> the XMLtransform tag, I got an another MM error (they guys
>> don't seem to give a sh?? these days or is it just me?)
>> URL, http://examples.macromedia.com/coldfusion/xmltransform/?
>
>I didn't see any errors there. Fortunately, there isn't much about
>XMLTransform that you need to know to use it, usually.
>
>Dave Watts, CTO, Fig Leaf Software
>http://www.figleaf.com/
>phone: 202-797-5496
>fax: 202-797-5444
>
[Todays Threads] [This Message] [Subscription] [Fast Unsubscribe] [User Settings]

