Beefy Boxes and Bandwidth Generously Provided by pair Networks
Perl-Sensitive Sunglasses

comment on

( #3333=superdoc: print w/replies, xml ) Need Help??
Hello again. I posted to PerlMonks forum a few short months ago, asking about the resources available for natural language processing in Perl. Well, the project has gone far since those days. . . (reminiscence) But now I've run into a problem!

I'm using XML-RPC to query the ConceptNet database. For the most part it works flawlessly, but on the behemoths I get this error: "not well-formed (invalid token) [. . . (blah blah) . . .] at C:/Perl/lib/XML/ line 187" And I think to myself: ohh no! For a while, I've been working around the error, but I'm to the point where I have no alternative but to attempt to tackle the problem. So I've been thinking. . .

Is there a better alternative to Frontier::Client? I've looked and couldn't find such a thing. So I thought that perhaps I could edit Frontier::Client and replace XML::Parser with some other module that could handle larger files. Is there a way that I could implement XML::Twig inside Frontier? Or is there a better option?

All help will be greatly appreciated
- Justin

In reply to XML-RPC troubles. . . by framboise

Use:  <p> text here (a paragraph) </p>
and:  <code> code here </code>
to format your post; it's "PerlMonks-approved HTML":

  • Are you posting in the right place? Check out Where do I post X? to know for sure.
  • Posts may use any of the Perl Monks Approved HTML tags. Currently these include the following:
    <code> <a> <b> <big> <blockquote> <br /> <dd> <dl> <dt> <em> <font> <h1> <h2> <h3> <h4> <h5> <h6> <hr /> <i> <li> <nbsp> <ol> <p> <small> <strike> <strong> <sub> <sup> <table> <td> <th> <tr> <tt> <u> <ul>
  • Snippets of code should be wrapped in <code> tags not <pre> tags. In fact, <pre> tags should generally be avoided. If they must be used, extreme care should be taken to ensure that their contents do not have long lines (<70 chars), in order to prevent horizontal scrolling (and possible janitor intervention).
  • Want more info? How to link or How to display code and escape characters are good places to start.
Log In?

What's my password?
Create A New User
Domain Nodelet?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others surveying the Monastery: (2)
As of 2022-11-28 02:26 GMT
Find Nodes?
    Voting Booth?