Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Size Limit for Media Item Browser
#11
Based on the error, I don't think it's that. It looks like an encoding thing, since it doesn't recognize the markup. It will always recognize the XMLDecl since it parses that in a very simplified way in order to determine the encoding= statement. But if the rest of the doc doesn't equal the indicated encoding, generally it fails with that kind of error on the next character after it.
Dean Roddey
Explorans limites defectum
Reply
#12
For the macro I just cut it out up to the DTD, but as it turns out if you just cut the encoding element it handles it just fine. Evidently doesn't like the $NativeWideChar$ as an encoding.
It's the early bird that catches the worm, but it's the second mouse that gets the cheese...
Reply
#13
That's a special encoding that means, as you'd guess, the native wide character format, i.e. native Unicode format. It should definitely be in that format unless you somehow got it transcoded somewhere along the line, I would think.
Dean Roddey
Explorans limites defectum
Reply
#14
Duh. I was XCoding it into UTF-8 instead of UTF16LE. That would be a problem I guess. The method call returns a string so it has to be transcoded into a buffer to parse it with the xmltreeparser.
It's the early bird that catches the worm, but it's the second mouse that gets the cheese...
Reply
#15
There's a method that takes a string directly, right?
Dean Roddey
Explorans limites defectum
Reply
#16
Nope. That was one of the things on the wish list.
It's the early bird that catches the worm, but it's the second mouse that gets the cheese...
Reply


Possibly Related Threads…
Thread Author Replies Views Last Post
  Possible Bug in Web Browser Widget or SetURL kblagron 8 689 04-29-2020, 06:58 PM
Last Post: kblagron
  With webriva, anyway to get an embedded browser window? ghurty 1 243 04-26-2020, 04:43 PM
Last Post: Dean Roddey
  Widget: Web Browser simplextech 4 820 01-12-2020, 12:47 PM
Last Post: simplextech
  Media Repository simplextech 10 1,589 01-09-2020, 07:19 PM
Last Post: simplextech
  Media playing from Event simplextech 11 1,590 01-07-2020, 06:09 PM
Last Post: simplextech
  Increase Size of Context Screens gReatAutomation 1 453 10-04-2019, 01:11 PM
Last Post: Dean Roddey
  Image Browser? gReatAutomation 8 1,568 06-26-2019, 06:12 PM
Last Post: gReatAutomation
  SubSonic Media Server API Support? gReatAutomation 4 1,143 06-16-2019, 02:45 PM
Last Post: gReatAutomation
  Google Calendar and Web Browser kblagron 4 986 04-25-2019, 10:10 PM
Last Post: kblagron
  Logic Server Field Limit zra 6 2,643 07-10-2018, 12:44 PM
Last Post: zra

Forum Jump:


Users browsing this thread: 1 Guest(s)