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


Help: OASIS Mailing Lists Help | MarkMail Help

relax-ng message

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

Subject: Re: [relax-ng] Conversion of comments between the compact and the XMLsyntax

> I don't know if there is a real need for this or if it's purely
> "academical" but I stumbled on this issue while presenting workarounds
> for people who would absolutely need to annotate "value" or "param"
> patterns and comments are one of them.

I'm not sure I understand what you are trying to workaround.  You can
annotate param (or value) patterns:

xsd:string {
  ## a pattern
  pattern = "xyzzy"

turns into:

<?xml version="1.0" encoding="UTF-8"?>
<data type="string" xmlns="http://relaxng.org/ns/structure/1.0";
  <param name="pattern">xyzzy</param>
  <a:documentation>a pattern</a:documentation>

Do you mean you want to be able to annotate particular characters with a
param or value? If so, why?


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

Powered by eList eXpress LLC