JDO metadata: XSD changes
Web Server forum
Back To The Forum Home!Search!Private Messaging System

Web Server Talk Web Server Talk > Web Servers reviews > Apache Server configuration support > Apache JDO Project > JDO metadata: XSD changes




  Last Thread   Next Thread Next
  Show Printable Version Email this Page Subscribe to this Thread      Post New Thread    Post A Reply      

    JDO metadata: XSD changes  
Michael Bouschen


View Ip Address Report This Message To A Moderator Edit/Delete Message


 
04-26-07 12:11 AM

Hi,

as Craig recently pointed out the JDO XSD files are not correct and
cause failures when using the feature schema-full-checking during XML
parsing (see Craig's email with subject "XSD woes" and the JIRA issue
http://issues.apache.org/jira/browse/JDO-472).

Here is a proposal of what should be changed from my point of view:
- Loosen the restrictions on the placement of extension elements,
meaning that the jdo implementation needs to do more checking. I sent
around an updated version of the JDO XSD file (subject "Re: XSD woes")
and did not receive any objections.
- Update the version entry in the XML Schema file to 2.1 and rename the
xsd files accordingly: jdo_2_1.xsd, orm_2_1.xsd and jdoquery_2_1.xsd.
- For consistency rename the DTD files to include the version number 2.1
(e.g. jdo_2_1.dtd) and adapt the standard PUBLIC and SYSTEM DOCTYPE.

Regards Michael

--
Tech@Spree Engineering GmbH  Tel.: +49/(0)30/235 520-33
Buelowstr. 66                Fax.: +49/(0)30/217 520-12
10783 Berlin                 mailto:mbo.tech@spree.de

Geschaeftsfuehrung: Dr. Gerhard Mueller-Proefrock
Anna-Kristin Proefrock
Sitz Berlin, Amtsgericht Charlottenburg, HRB 564 52







[ Post a follow-up to this message ]



    Re: JDO metadata: XSD changes  
Erik Bengtson


View Ip Address Report This Message To A Moderator Edit/Delete Message


 
04-27-07 12:11 AM

Michael,

I've changed my mind, and now I think we should fix the XSD, having strict
checks and lose flexibility, instead of having the jdo implementation do mor
e
checking. It's just too long to implement/maintain/test, prone to errors and
costs in performance.

I propose the extension element to be placed as last child of the parent
element, and applications upgrading from JDO 2 to JDO 2.1 could use a PMF
vendor property to disable XSD validation if their schema is not valid

By the way, the DTD in the JDO 2 spec document refers to JDO 1 DTD instead o
f
JDO 2 DTD.
Regards,

Quoting Michael Bouschen <mbo.tech@spree.de>:

> Hi,
>
> as Craig recently pointed out the JDO XSD files are not correct and
> cause failures when using the feature schema-full-checking during XML
> parsing (see Craig's email with subject "XSD woes" and the JIRA issue
> http://issues.apache.org/jira/browse/JDO-472).
>
> Here is a proposal of what should be changed from my point of view:
> - Loosen the restrictions on the placement of extension elements,
> meaning that the jdo implementation needs to do more checking. I sent
> around an updated version of the JDO XSD file (subject "Re: XSD woes")
> and did not receive any objections.
> - Update the version entry in the XML Schema file to 2.1 and rename the
> xsd files accordingly: jdo_2_1.xsd, orm_2_1.xsd and jdoquery_2_1.xsd.
> - For consistency rename the DTD files to include the version number 2.1
> (e.g. jdo_2_1.dtd) and adapt the standard PUBLIC and SYSTEM DOCTYPE.
>
> Regards Michael
>
> --
> Tech@Spree Engineering GmbH  Tel.: +49/(0)30/235 520-33
> Buelowstr. 66                Fax.: +49/(0)30/217 520-12
> 10783 Berlin                 mailto:mbo.tech@spree.de
>
> Geschaeftsfuehrung: Dr. Gerhard Mueller-Proefrock
>                      Anna-Kristin Proefrock
> Sitz Berlin, Amtsgericht Charlottenburg, HRB 564 52
>
>









[ Post a follow-up to this message ]



    Sponsored Links  




 





   All times are GMT. The time now is 06:11 PM.      Post New Thread    Post A Reply      
  Last Thread   Next Thread Next


Most Popular forums 

Forum Jump:
Rate This Thread:

Forum Rules:
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
HTML code is OFF
vB code is ON
Smilies are ON
[IMG] code is OFF
 
Medical and Health forum | Computer Games Reviews | Graphics design forum

Back To The Top
Home | Usercp | Faq | Register