ASPN ActiveState Programmer Network
ActiveState
/ Home / Perl / PHP / Python / Tcl / XSLT /
/ Safari / My ASPN /
Cookbooks | Documentation | Mailing Lists | Modules | News Feeds | Products | User Groups


Recent Messages
List Archives
About the List
List Leaders
Subscription Options

View Subscriptions
Help

View by Topic
ActiveState
.NET Framework
Open Source
Perl
PHP
Python
Tcl
Web Services
XML & XSLT

View by Category
Database
General
SOAP
System Administration
Tools
User Interfaces
Web Programming
XML Programming


MyASPN >> Mail Archive >> perl-xml
perl-xml
Re: Perl + XML
by Georg Rehm other posts by this author
Sep 20 2005 3:02AM messages near this date
view in the new Beta List Site
Re: Perl + XML | XML to SOAP::Data
& XSLT >  If opening or closing tags are missing then the file is not 'well
>  formed'.  If it's not well formed then it is not XML.
>  
>  Your best option is to go back to whoever produced the file and ask them
>  to fix it.
 
Should this be impossible, you could try to pretend that your "XML"
file is an SGML file: Write a simple DTD that allows you to omit
specific start and/or end tags within the file. With a little bit
of luck (this process depends on the errors contained in your broken
XML file, of course), you should be able to normalize the file with 
SP, OpenSP or some other SGML parser. The normalized output is, more 
or less, what you want.

Hope that helps.

Kind regards,
	Georg
-- 
http://georg-re.hm
_______________________________________________
Perl-XML mailing list
Perl-XML@[...].com
To unsubscribe: http://listserv.ActiveState.com/mailman/mysubs
Thread:
Shouvanik Haldar
Geir Aalberg
Grant McLean
Mark - BLS CTR Thomas
Georg Rehm
Attila Fülöp
Attila Fülöp
Georg Rehm

Privacy Policy | Email Opt-out | Feedback | Syndication
© ActiveState Software Inc. All rights reserved