[prev in list] [next in list] [prev in thread] [next in thread] 

List:       xmlbeans-dev
Subject:    RE: [jira] Commented: (XMLBEANS-92) expose identityConstraints in SchemaTypeSystem
From:       "Radu Preotiuc-Pietro" <radup () bea ! com>
Date:       2005-02-23 3:42:29
Message-ID: 4B2B4C417991364996F035E1EE39E2E101A05F4C () uskiex01 ! amer ! bea ! com
[Download RAW message or body]

Have you tried

if (xml.schemaType().getBultinTypeCode() == SchemaType.BTC_ID) ...

to check if an attribute is of type ID?

Radu

-----Original Message-----
From: Raul Benito [mailto:raul.benito.garcia@gmail.com]
Sent: Tuesday, February 22, 2005 1:40 PM
To: dev@xmlbeans.apache.org
Subject: Re: [jira] Commented: (XMLBEANS-92) expose identityConstraints
in SchemaTypeSystem


This looks interesting I want to implement DOM method getElementById,
I want to know if there is any method to know what attributes are Id,
in parsing time.

It is one big thing left to do seamless integration with the xml
signature library.

Regards,

Raul

http://r-bg.com

On Sat, 19 Feb 2005 03:02:48 +0100 (CET), Radu Preotiuc-Pietro (JIRA)
<xmlbeans-dev@xml.apache.org> wrote:
> [ http://issues.apache.org/jira/browse/XMLBEANS-92?page=comments#action_59423 ]
> 
> Radu Preotiuc-Pietro commented on XMLBEANS-92:
> ----------------------------------------------
> 
> I am tempted to not make the change, since SchemaIdentityConstraints are already \
> available in the SchemaLocalElement API. 
> > expose identityConstraints in SchemaTypeSystem
> > ----------------------------------------------
> > 
> > Key: XMLBEANS-92
> > URL: http://issues.apache.org/jira/browse/XMLBEANS-92
> > Project: XMLBeans
> > Type: Improvement
> > Components: SOM
> > Versions: Version 2
> > Reporter: Walter Dorninger
> > Assignee: Radu Preotiuc-Pietro
> > Attachments: patch.diff
> > 
> > The SchemaTypeSystemImpl already exposes this functionallity as a public method. \
> > This should be available in the interface. Furthermore the \
> > BuiltInSchemaTypeSystem and the SoapEncSchemaTypeSystem need to be updated to \
> > return an empty list for the identityConstraints. I attach the patch.diff file
> 
> --
> This message is automatically generated by JIRA.
> -
> If you think it was sent incorrectly contact one of the administrators:
> http://issues.apache.org/jira/secure/Administrators.jspa
> -
> If you want more information on JIRA, or have a bug to report see:
> http://www.atlassian.com/software/jira
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: dev-unsubscribe@xmlbeans.apache.org
> For additional commands, e-mail: dev-help@xmlbeans.apache.org
> 
> 


-- 
http://r-bg.com

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@xmlbeans.apache.org
For additional commands, e-mail: dev-help@xmlbeans.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@xmlbeans.apache.org
For additional commands, e-mail: dev-help@xmlbeans.apache.org


[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic