Re: XmlFormatter: space isn't allowed in xml tag

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



sorry, Our XMLFormatter has this feature, but lowercased_underscored
is false default.


XMLFormatter(bool pretty = false, bool lowercased_underscored = false);

2017-01-12 13:27 GMT+08:00 liuchang0812 <liuchang0812@xxxxxxxxx>:
> hi, all
>
> an XML tag cannot contains space in it. see
> https://www.w3.org/TR/2008/REC-xml-20081126/#NT-NameChar.
>
> Ceph uses `xmlformatter` to dump XML text, and there are a lot of
> space in xml tag currently. so, need we fix this?
>
> We could fix this as :
> 1. simple solution: replace `space` with `_`
> 2. urlencode: \n = &#xA; \r = &#xD; \t = &#x9; space = &#x20;
>
> any comments are appreciated!
--
To unsubscribe from this list: send the line "unsubscribe ceph-devel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html



[Index of Archives]     [CEPH Users]     [Ceph Large]     [Information on CEPH]     [Linux BTRFS]     [Linux USB Devel]     [Video for Linux]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]
  Powered by Linux