Re: My Regexp XML Parser -> Structured Perl Data, Cut & Paste Version, No Module's (Vol I)
- From: robic0
- Date: Fri, 23 Dec 2005 16:19:25 -0800
On 23 Dec 2005 15:31:03 -0800, "Bart Van der Donck" <bart@xxxxxxxxxx>
wrote:
>robic0 wrote:
>
>> On Tue, 20 Dec 2005 23:59:06 -0800, robic0 wrote:
>>
>> >This post is in response to someone who asked for help trying to
>> >parse xml into a data structure.
[snip]
>It's very hard to run your code. You are messing up the line ends in
>your post.
I'm not messing up "line ends"..
> I 've uploaded a corrected version to
>www.dotinternet.be/temp/code.txt.
You didn't write the code, you can't correct it..
>
>Your software produces errors when using namespaces:
>
> <?xml version="1.0" encoding="UTF-8"?>
> <root xmlns:html="http://www.w3.org/TR/REC-html-4.0">
> <mytag>content</mytag>
> <html:br/>
> </root>
>
Uh, namespaces? wha where?
>Your software produces errors when using a DOCTYPE:
>
> <?xml version="1.0" encoding="UTF-8"?>
> <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
> "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
> <root>
> <mytag>content</mytag>
> </root>
>
"<!DOCTYPE..." is not implemented, don't use that xml
>Your software produces errors when argument values are enclosed by `` '
>´´ instead of `` " ´´:
>
> <?xml version='1.0' encoding='UTF-8'?>
> <root>
> <mytag myargument='argvalue'>content</mytag>
> </root>
>
Ok, I'l give you that, if '|" is ok for attribute's then I'll put it
in
>XML is case sensitive; your program doesn't seem to bother:
Thought that was the case, I turned off case sensitivity, I'll
put it back on
>
> <?xml version="1.0" encoding="UTF-8"?>
> <root>
> <mYTag myargument="argvalue">content</mytag>
> </root>
>
>I'm using Microsoft XP's XML parser to check the XML well-formedness.
>
>Your program has many shortcomings.
>
My program has a solid framework I wrote in 4 days. I've run it on
every single M*** OS xml on my machine. It works perfect ...
Don't know what you want. Either you want what I wrote your you just
want to bust balls of a software designer. Can't figure out which you
want. One more comment like the one above and I won't post a personal
reply like this one!
if ever you should
.
- Follow-Ups:
- References:
- My Regexp XML Parser -> Structured Perl Data, Cut & Paste Version, No Module's (Vol I)
- From: robic0
- Re: My Regexp XML Parser -> Structured Perl Data, Cut & Paste Version, No Module's (Vol I)
- From: robic0
- Re: My Regexp XML Parser -> Structured Perl Data, Cut & Paste Version, No Module's (Vol I)
- From: Bart Van der Donck
- My Regexp XML Parser -> Structured Perl Data, Cut & Paste Version, No Module's (Vol I)
- Prev by Date: Re: perl, v5.8.7 Windows 2003 PPM 3.3
- Next by Date: Re: Apache and Perl in Windows
- Previous by thread: Re: My Regexp XML Parser -> Structured Perl Data, Cut & Paste Version, No Module's (Vol I)
- Next by thread: Re: My Regexp XML Parser -> Structured Perl Data, Cut & Paste Version, No Module's (Vol I)
- Index(es):