© 2026 Hedgehog Software, LLC

TwitterGitHubDiscord
More
CommunitiesDocsAboutTermsPrivacy
Search
Star
Setup for Free
SupabaseS
Supabase•3y ago•
14 replies
ridg3wood

Edge Function with DomParser

Getting this error - Error: DOMParser: "text/xml" unimplemented
at DOMParser.parseFromString (https://deno.land/x/deno_dom@v0.1.43/src/dom/dom-parser.ts:7:13)
at UpdateSVG (file:///home/deno/functions/svggen/index.ts:50:40)
at genSVGs (file:///home/deno/functions/svggen/index.ts:211:29)
at eventLoopTick (ext:core/01_core.js:183:11)
at async handleHttp (ext:sb_core_main_js/js/http.js:66:17)

using

import {
DOMParser,
Element,
} from "https://deno.land/x/deno_dom/deno-dom-wasm.ts";

just trying todo this

let svgDocumentTMP = new DOMParser().parseFromString(svgContent, "text/xml")!;

Any ideas?
Supabase banner
SupabaseJoin
Supabase gives you the tools, documentation, and community that makes managing databases, authentication, and backend infrastructure a lot less overwhelming.
45,816Members
Resources

Similar Threads

Was this page helpful?
Recent Announcements

Similar Threads

InvalidWorkerResponse with Edge Function
SupabaseSSupabase / help-and-questions
3y ago
Edge Function
SupabaseSSupabase / help-and-questions
5mo ago
auth edge function
SupabaseSSupabase / help-and-questions
2w ago
Edge function problem
SupabaseSSupabase / help-and-questions
3w ago