Canonical Form (Re: [ANN] InstantYAML is released)

Peter Murphy <[email protected]>
Newsgroups gmane.text.yaml.general
Message-ID <[email protected]>
On Thu, Feb 5, 2009 at 1:28 AM, Andrey Somov <[email protected]> wrote:
> =============================
>  Announcing InstantYAML
> =============================
> InstantYAML is a service to check the validity of a YAML document,
> to evaluate different options for emitting and to see implementation
> information generated by PyYAML 3.08 (events, tokens and nodes).
> The service is available here:
>     http://instantyaml.appspot.com/
> Your feedback is welcome !
> Copyright

It looks nice!

One concern that I have is how the service perceives "Canonical
content" when handling characters above 128. For example:

English: Over
German: Über

Becomes:

%YAML 1.1
---
!!map {
    ? !!str "English"
    : !!str "Over",
    ? !!str "German"
    : !!str "\xDCber",
}
...

Yes, it's a different way of presenting the same thing. But if I was
pressing the "Show Canonical YAML" button, I would expect:

%YAML 1.1
---
!!map {
    ? !!str "English"
    : !!str "Over",
    ? !!str "German"
    : !!str "Über",
}
...

Best regards,
Peter

------------------------------------------------------------------------------
Create and Deploy Rich Internet Apps outside the browser with Adobe(R)AIR(TM)
software. With Adobe AIR, Ajax developers can use existing skills and code to
build responsive, highly engaging applications that combine the power of local
resources and data with the reach of the web. Download the Adobe AIR SDK and
Ajax docs to start building applications today-http://p.sf.net/sfu/adobe-com
_______________________________________________
Yaml-core mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/yaml-core
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.