kibigo!

Results 28 comments of kibigo!

You should use `application/` not `text/` as `text/` assumes that the document is ASCII. This is the reason why the MIME type for XML, which defaults to a UTF-8 encoding,...

I think you should not remove direction characters as they make it impossible to literally encode bidirectional strings, which is important for internationalization. It is true that BIDI control characters...

It seems like some aspects of this are still under discussion/development, but definitely in the case of any ActivityStreams objects which are created; e.g., ```js { "type": "Branch", "id": "https://git.example.org/my-repo/",...

I will say having dotless lowercase I as a character variant of `U+0069` is important, and recommended Unicode practice, for languages like Irish which will use dotless I as a...

My (possibly poorly‐informed) understanding of why Unicode is encoding all these variant forms now is that they are (possibly) useful in the context of corpuses, identifying the frequencies of form...

i typically don’t have any problem with ```js import { DOMParser, XMLSerializer } from "https://esm.sh/@xmldom/[email protected]"; ``` (using `esm.sh` to handle the transpiling/compiling). i don’t use typescript though, so i can’t...

This is easy enough to work around (just do `!element.namespaceURI` instead of `element.namespaceURI == null`), but I would anticipate that people would expect the latter to work in all cases....

apos should NOT be encoded in attributes according to the latest XMLSerializer spec: so this is not a bug, it is expected behaviour

as for “decoding entities in text nodes”, this is necessary for things like `.textContent` to work as expected, and it is also what happens in browsers ```js const doc =...