OASIS Mailing List ArchivesView the OASIS mailing list archive below
or browse/search using MarkMail.

 


Help: OASIS Mailing Lists Help | MarkMail Help

xacml message

[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [List Home]


Subject: Re: [xacml] XPath support in the JSON profile


Bill,

I meant escaped XML/HTML using the HTML way of escaping things.

Try:

<html>
<body>
foo &lt;elem&gt;some stuff&lt;/elem&gt;
</body>
</html>

save it to foo.html and open it.

On Thu, Nov 15, 2012 at 3:47 PM, Bill Parducci <bill@parducci.net> wrote:
Opening the latter in Chrome yields:

foo \"content\" with \\\"\" as example

I think perhaps you misspoke re: being able to read this in a browser...at least inasmuch as it being a viable mechanism for debugging ;)

b

On Nov 15, 2012, at 6:13 AM, David Brossard <david.brossard@axiomatics.com> wrote:

> I just realized that I am not being very consistent here.
>
> \ should be escaped using \: \\
> " should be escaped using \: \"
>
>       • Before: <xmlContent value="the \ is a neat thing">foo "content" with \"" as example</xmlContent>
>       • After: <xmlContent value=\"the \\ is a neat thing\">foo \"content\" with \\\"\" as example</xmlContent>
> What do you think?




--
David Brossard, M.Eng, SCEA, CSTP
Product Manager
+46(0)760 25 85 75
Axiomatics AB
Skeppsbron 40
S-111 30 Stockholm, Sweden
http://www.linkedin.com/companies/536082
http://www.axiomatics.com
http://twitter.com/axiomatics



[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [List Home]