XML Schema and CFG

S

solid

Is XML Schema a CFG or is it a Context Sensitive Grammar? I believe
that a general XML is not CFG, but need a proof.
Are other XML grammar descriptions such as Relax NG Context Free? (If
so, is it proven anywhere).
 
J

Joseph Kesselman

solid said:
Is XML Schema a CFG or is it a Context Sensitive Grammar?

Websearch says "rough equivalent of a context-free grammar", but also
shows examples of using explicit typing to impose context-sensitivity.
So the answer appears to be that a _particular_ schema could be either.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
473,768
Messages
2,569,574
Members
45,051
Latest member
CarleyMcCr

Latest Threads

Top