Account Options

  1. Sign in
The old Google Groups will be going away soon, but your browser is incompatible with the new version.
Google Groups Home
« Groups Home
emerl_scan:file/1
There are currently too many topics in this group that display first. To make this topic appear first, remove this option from another topic.
There was an error processing your request. Please try again.
flag
  3 messages - Collapse all  -  Translate all to Translated (View all originals)
The group you are posting to is a Usenet group. Messages posted to this group will make your email address visible to anyone on the Internet.
Your reply message has not been sent.
Your post was successful
 
From:
To:
Cc:
Followup To:
Add Cc | Add Followup-to | Edit Subject
Subject:
Validation:
For verification purposes please type the characters you see in the picture below or the numbers you hear by clicking the accessibility icon. Listen and type the numbers you hear
 
prasantha kumara  
View profile  
 More options Feb 12 2009, 5:41 am
From: prasantha kumara <jlprasan...@gmail.com>
Date: Thu, 12 Feb 2009 16:11:26 +0530
Local: Thurs, Feb 12 2009 5:41 am
Subject: [erlang-questions] emerl_scan:file/1

Hi all,
I tried write an erlang programe to read a xml file. i wrote a xml file and
the dtd file.
When i tried to compile the
{ParsResult,Misc}=xmerl_scan:file("motorcycles.xml").
in erl prompt. it gives following errors.
** exception error: no case clause matching {error,enoent}
     in function  xmerl_scan:fetch_DTD/2
     in call from xmerl_scan:scan_doctype2/3
     in call from xmerl_scan:scan_prolog/3
     in call from xmerl_scan:scan_document/2
     in call from xmerl_scan:file/2

Can anybody tell me the reason of that exception?
thanks
prasantha

_______________________________________________
erlang-questions mailing list
erlang-questi...@erlang.org
http://www.erlang.org/mailman/listinfo/erlang-questions


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Bertil Karlsson  
View profile  
 More options Feb 12 2009, 6:19 am
From: Bertil Karlsson <bertil.karls...@ericsson.com>
Date: Thu, 12 Feb 2009 12:19:54 +0100
Local: Thurs, Feb 12 2009 6:19 am
Subject: Re: [erlang-questions] emerl_scan:file/1
If the file is from the xmerl docs you need a motorcycles.dtd file as
well, also available in the docs I guess.

/Bertil

_______________________________________________
erlang-questions mailing list
erlang-questi...@erlang.org
http://www.erlang.org/mailman/listinfo/erlang-questions

 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
mats cronqvist  
View profile  
 More options Feb 13 2009, 3:19 am
From: mats cronqvist <ma...@kreditor.se>
Date: Fri, 13 Feb 2009 09:19:13 +0100
Local: Fri, Feb 13 2009 3:19 am
Subject: Re: [erlang-questions] emerl_scan:file/1

prasantha kumara <jlprasan...@gmail.com> writes:
> ** exception error: no case clause matching {error,enoent}

  enoent means that the file cannot be found.

http://www.opengroup.org/onlinepubs/009695399/basedefs/errno.h.html
_______________________________________________
erlang-questions mailing list
erlang-questi...@erlang.org
http://www.erlang.org/mailman/listinfo/erlang-questions


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
End of messages
« Back to Discussions « Newer topic     Older topic »