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

 


Help: OASIS Mailing Lists Help | MarkMail Help

sdo message

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


Subject: Re: [sdo] Re: ISSUE 173: Is Type name an NCName?


Hi Michael,

Thanks for that, my intention was just to point to the definition of NCName

-Blaise

Michael Glavassevich wrote:
>
> Hi Blaise,
>
> The rules you extracted are from the XML 1.0 5th edition. These were 
> changed from the 4th edition to align with the more permissive rules 
> of XML 1.1 names.
>
> I haven't seen much adoption XML 1.0 5th edition, particularly in the 
> Java space. Someone using an NCName which was not allowed by XML 1.0 
> 4th edition is unlikely to have much success with existing software. 
> Did you really just intend to point to the XML Schema definition of 
> NCName [1]? This still goes by the definition of NCName [2] in the 
> original Namespaces in XML Recommendation.
>
> Thanks.
>
> [1] http://www.w3.org/TR/2004/REC-xmlschema-2-20041028/#NCName
> [2] http://www.w3.org/TR/1999/REC-xml-names-19990114/#NT-NCName
>
> Michael Glavassevich
> XML Parser Development
> IBM Toronto Lab
> E-mail: mrglavas@ca.ibm.com
> E-mail: mrglavas@apache.org
>
> Blaise Doughan <blaise.doughan@oracle.com> wrote on 07/27/2010 
> 11:11:26 AM:
>
> > Hello All,
> >
> > Below is a proposal for SDO-173:
> >
> > SDO Core Spec:  Section 4.4.2 - Type Contents
> >
> > Change:
> > Name - A String that is unique among the Types that belong to the
> > same URI in the same HelperContext. Defining a Types with duplicate
> > in the type names or aliases results in undefined behavior.
> >
> > To:
> > Name - A String that is unique among the Types that belong to the
> > same URI in the same HelperContext. Defining a Type with duplicate
> > in the type name or aliases results in undefined behavior.  A type
> > name corresponds to the rules for an XML Schema NCName:
> > NameStartChar ::=    [A-Z] | "_" | [a-z] | [#xC0-#xD6] | [#xD8-#xF6]
> > | [#xF8-#x2FF] | [#x370-#x37D] | [#x37F-#x1FFF] | [#x200C-#x200D] |
> > [#x2070-#x218F] | [#x2C00-#x2FEF] | [#x3001-#xD7FF] | [#xF900-
> > #xFDCF] | [#xFDF0-#xFFFD] | [#x10000-#xEFFFF]
> > NameChar      ::=    NameStartChar | "-" | "." | [0-9] | #xB7 |
> > [#x0300-#x036F] | [#x203F-#x2040]
> > Name          ::=    NameStartChar (NameChar)*
> >
> > Adapted from:
> > http://www.w3.org/TR/REC-xml-names/#ns-decl
> > http://www.w3.org/TR/REC-xml/#NT-Name
> >
> >
> > SDO Core Spec:  Section 4.5 Property
> > The same addition that was made to Type name, should be made to
> > Property name here.
> >
> > -Blaise
> >
> >
> > Barack, Ron wrote:
> > http://www.osoa.org/jira/browse/SDO-173
> >  
> > Von: Blaise Doughan [mailto:blaise.doughan@oracle.com]
> > Gesendet: Dienstag, 13. Juli 2010 16:26
> > An: sdo@lists.oasis-open.org
> > Betreff: [sdo] New Issue - Is Type name an NCName?
> >  
> > Hello All,
> >
> > I would like to open the following issue, "Is Type name an NCName?".
> > I do not believe that this is currently covered in the spec.  I
> > believe we have the following options:
> > 1. Specify Type name is NCName
> > 2. Specify an algorithm for deriving the XML schema type name from
> > SDO Type name.
> > -Blaise
>


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