Programming This forum is for all programming questions.
The question does not have to be directly related to Linux and any language is fair game. |
Notices |
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
Are you new to LinuxQuestions.org? Visit the following links:
Site Howto |
Site FAQ |
Sitemap |
Register Now
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
|
|
|
01-05-2024, 09:19 AM
|
#16
|
Senior Member
Registered: Feb 2007
Location: UK
Distribution: Debian
Posts: 3,708
|
An XML parser is not a HTML parser.
With controlled HTML, pre-processing before parsing can be safe (depending on specifics), but with uncontrolled HTML it is asking for bugs.
|
|
|
07-19-2024, 03:59 AM
|
#17
|
Senior Member
Registered: Dec 2015
Posts: 1,639
Original Poster
Rep:
|
Quote:
Originally Posted by boughtonp
An XML parser is not a HTML parser.
With controlled HTML, pre-processing before parsing can be safe (depending on specifics), but with uncontrolled HTML it is asking for bugs.
|
You did not read my posts, that is asking for misunderstanding.
|
|
|
07-19-2024, 04:34 AM
|
#18
|
Senior Member
Registered: Oct 2011
Location: Budapest
Distribution: Debian/GNU/Linux, AIX
Posts: 4,924
|
By now, one could have checked the relation between XML, SGML, HTML and XHTML. Neither of those is meant to be parsed via regular expressions.
|
|
|
07-19-2024, 06:51 AM
|
#19
|
Senior Member
Registered: Dec 2015
Posts: 1,639
Original Poster
Rep:
|
Quote:
Originally Posted by NevemTeve
By now, one could have checked the relation between XML, SGML, HTML and XHTML. Neither of those is meant to be parsed via regular expressions.
|
Why do you keep talking about XML when the problem had nothing to do with that? I *am* parsing HTML and XML with an XML/HTML-parser. This has not been the question.
|
|
|
07-19-2024, 07:40 AM
|
#20
|
Senior Member
Registered: Feb 2007
Location: UK
Distribution: Debian
Posts: 3,708
|
Quote:
Originally Posted by Michael Uplawski
You did not read my posts, that is asking for misunderstanding.
|
I cannot guarantee what I did back in January, but I stand by both of the posts I made in this thread, and have nothing more to add.
I have no idea why you have responded half a year later on a thread marked solved just to say that.
|
|
1 members found this post helpful.
|
07-20-2024, 12:04 AM
|
#21
|
Senior Member
Registered: Dec 2015
Posts: 1,639
Original Poster
Rep:
|
I abstain from using the Web as much as possible and was not aware of your post.
|
|
|
All times are GMT -5. The time now is 05:35 PM.
|
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.
|
Latest Threads
LQ News
|
|