LinuxQuestions.org
Register a domain and help support LQ
Go Back   LinuxQuestions.org > Forums > Non-*NIX Forums > Programming
User Name
Password
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

Reply
 
Search this Thread
Old 10-31-2012, 07:39 AM   #1
GopalNithi
LQ Newbie
 
Registered: Oct 2012
Posts: 2

Rep: Reputation: Disabled
Segmentation fault error on schema validation using xmllint


Hi,

I am validating my XML with the schema using xmllint. When I do this I got the Segmentation fault error.

Below is the code I used to validate xml (in Mac osX).

xmllint --noout --schema /Applications/CenDoc/cendoc.xsd /Users/premedia/Desktop/CEngage/ExportXML/XML/final/ToExport.xml

Can anyone help me on this.

Thanks,
Gopal
 
Old 10-31-2012, 07:50 AM   #2
ntubski
Senior Member
 
Registered: Nov 2005
Distribution: Debian
Posts: 2,455

Rep: Reputation: 843Reputation: 843Reputation: 843Reputation: 843Reputation: 843Reputation: 843Reputation: 843
It sounds like you found a bug in xmllint. Try updating to the latest version (2.9.0), if that doesn't help (or you are already using the latest version) then you should report the bug here. You should include the schema and XML file you used to cause the crash (preferably as small as possible, ie remove everything that doesn't cause the crash).
 
1 members found this post helpful.
Old 11-01-2012, 11:44 PM   #3
GopalNithi
LQ Newbie
 
Registered: Oct 2012
Posts: 2

Original Poster
Rep: Reputation: Disabled
Thanks.

Can you help to locate the xmllint version 2.9.0. I am unable to find this on internet.

Regards,
Gopal
 
Old 11-02-2012, 02:37 AM   #4
ntubski
Senior Member
 
Registered: Nov 2005
Distribution: Debian
Posts: 2,455

Rep: Reputation: 843Reputation: 843Reputation: 843Reputation: 843Reputation: 843Reputation: 843Reputation: 843
Oh sorry, I forgot to mention that xmllint comes with libxml2, it's basically a sample utility program to exercise the library. The download page for libxml2 is here.
 
Old 11-09-2012, 09:23 PM   #5
Ratamahatta
LQ Newbie
 
Registered: Feb 2012
Location: Koblenz, Germany
Distribution: aptosid linux
Posts: 16

Rep: Reputation: 2
You are aware of the fact that this is not an iCrap or modBSD (OS10) forum, aren't you?
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
segmentation fault error fatemi Linux - Newbie 3 02-20-2009 09:17 AM
segmentation fault error dianarani Linux - Hardware 16 02-28-2008 07:19 AM
xmllint against XSD validation kshkid Programming 3 05-25-2007 04:53 AM
Segmentation Fault ERROR bluechicken Programming 8 06-30-2005 07:02 AM
Segmentation Fault Error ashwinipahuja Programming 1 03-29-2004 02:09 PM


All times are GMT -5. The time now is 09:42 AM.

Main Menu
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration