Re: [VOTE] XMLBeans v2.6.0-RC3 to become official release

2012-08-09 Thread jerry . sy

[X]  +1  -  I am in favor of this release, and can help

On 08/08/2012 05:33 PM, Cezar Andrei wrote:

Because I didn't receive any votes, I'm extending the vote period until
end of next Monday, August 13.

Cezar

On Wed, 2012-08-08 at 17:07 -0700, Cezar Andrei wrote:

The files are now up at http://xmlbeans.apache.org/dist/ please do send
your votes.

Thanks,
Cezar

On Thu, 2012-08-02 at 11:04 -0700, Cezar Andrei wrote:

The files are not here: http://xmlbeans.apache.org/dist/ yet, they
should get sync-ed soon. I'll send an update when they're up.

In the meantime, you can find the same files here:
http://apache.org/~cezar/xmlbeans-2.6.0/

Cezar


On Thu, 2012-08-02 at 10:46 -0700, Cezar Andrei wrote:

Please cast your vote for the XMLBeans v2.6.0-RC3, as published at
http://xmlbeans.apache.org/dist/ to become XMLBeans v2.6.0 official
release.



The vote will be open until end of day Monday, August 6. Anyone is
allowed to show support or lack of it, but only XMLBeans committer votes
are binding.



[ ]  +1  -  I am in favor of this release, and can help

[ ]  +0  -  I am in favor of this release, but cannot help

[ ]  -0  -  I am not in favor of this release

[ ]  -1  -  I am against this proposal (must include a reason)







My vote is:

[X]  +1  -  I am in favor of this release, and can help



Cezar



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




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




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




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



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



[jira] [Updated] (XMLBEANS-412) CLONE -Pattern facet regex requires dash - to be escaped

2012-04-05 Thread Jerry Sy (Updated) (JIRA)

 [ 
https://issues.apache.org/jira/browse/XMLBEANS-412?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Jerry Sy updated XMLBEANS-412:
--

Attachment: ParserForXMLSchema.java
xmlbeans-412.patch

Suggested fix to allow unescaped '-' at start or end of a positive char group.

 CLONE -Pattern facet regex requires dash - to be escaped
 

 Key: XMLBEANS-412
 URL: https://issues.apache.org/jira/browse/XMLBEANS-412
 Project: XMLBeans
  Issue Type: Bug
  Components: Validator
Affects Versions: Version 2, Version 2.1, Version 2.2, Version 2.2.1,  
 Version 2.3,  Version 2.3.1
 Environment: Win 2000, JDK1.5
Reporter: Radosław Ceszkiel
 Fix For: Version 2

 Attachments: ParserForXMLSchema.java, xmlbeans-412.patch


 Given the following xsd  that should allow only a valid email address pattern:
 xsd:schema xmlns:xsd=http://www.w3.org/2001/XMLSchema;
   xsd:element name=Email type=EmailType /
   xsd:simpleType name=EmailType 
 xsd:restriction base=xsd:token
   xsd:pattern 
 value=([\.a-zA-Z0-9_-])+@([a-zA-Z0-9_-])+(([a-zA-Z0-9_-])*\.([a-zA-Z0-9_-])+)+/
 /xsd:restriction
   /xsd:simpleType
 /xsd:schema
 Using the following simple xml instance:
 Emailt...@test.com/Email
 Running:
 validate sample.xsd sample.xml
 generates:
 Schema invalid:
 D:\sample.xsd:7: error: pattern-regex: The regular expression 
 '([\.a-zA-Z0-9_-])+@([a-zA-Z0-9_-])+(([a-zA-Z0-9_-])*\.([a-zA-Z0-9_-])+)+' is 
 malformed: '-' is an invalid character range. Write '\-'.
 A dash at the end or at the beginning of a character range does not have to 
 be escaped (see 
 http://www.w3.org/TR/2004/REC-xmlschema-2-20041028/datatypes.html#nt-charRange
  The - character is a valid character range only at the beginning or end of 
 a - positive character group- .) 
 The regular expression in the email example is a valid xsd regexp and should 
 be accepted by the XmlBeans validator.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: 
https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira



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



Re: where is the latest release 2.5.0 in svn?

2011-11-10 Thread Jerry Sy


  
  
it's under xmlbeans/trunk

On 11/9/2011 5:46 PM, Marshall Schor wrote:
Hi,
  
  
  I went to check out the latest release from svn, but under
  xmlbeans/tags I see only folders up to 2.4.0. Where do I find the
  2.5.0 release?
  
  
  -Marshall Schor
  
  
-
  
  To unsubscribe, e-mail: dev-unsubscr...@xmlbeans.apache.org
  
  For additional commands, e-mail: dev-h...@xmlbeans.apache.org
  
  


  


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



[jira] [Commented] (XMLBEANS-457) Mixed and restricted element fails validation

2011-06-08 Thread Jerry Sy (JIRA)

[ 
https://issues.apache.org/jira/browse/XMLBEANS-457?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=13046123#comment-13046123
 ] 

Jerry Sy commented on XMLBEANS-457:
---

I verified the error does not occur with the latest build. Revision 1102771 
fixes a derivation by restriction issue and seems to fix this issue as well.
 http://svn.apache.org/viewvc?view=revisionrevision=1102771

 Mixed and restricted element fails validation
 -

 Key: XMLBEANS-457
 URL: https://issues.apache.org/jira/browse/XMLBEANS-457
 Project: XMLBeans
  Issue Type: Bug
  Components: Validator
Affects Versions: Version 2.4 
 Environment: jdk1.6.0_25
Reporter: Caroline Rosin
Priority: Critical
  Labels: mixed, restricted, validation

 I have noticed that when an element is defined as a restriction from a mixed 
 type, if there is some text in this element the Xmlbeans validation 
 fails.However the same xml file is valid if I run it against schema 
 validation in XmlSpy. Here is the example (I tried to make it as simple as 
 possible):
 xml schema:
 xs:schema xmlns:xs=http://www.w3.org/2001/XMLSchema; 
 elementFormDefault=qualified attributeFormDefault=unqualified
 xs:element name=RootElement
 xs:annotation
 xs:documentationComment describing your root 
 element/xs:documentation
 /xs:annotation
 xs:complexType
 xs:sequence
 xs:element ref=Child/
 xs:element ref=ChildExtended/
 xs:element ref=ChildRestricted/
 /xs:sequence
 /xs:complexType
 /xs:element
 xs:element name=Child type=MixedType/
 xs:element name=ChildRestricted type=MixedTypeRestricted/
 xs:element name=ChildExtended type=MixedTypeExtended/
 xs:complexType name=MixedType mixed=true/
 xs:complexType name=MixedTypeExtended mixed=true
 xs:complexContent mixed=true
 xs:extension base=MixedType/
 /xs:complexContent
 /xs:complexType
 xs:complexType name=MixedTypeRestricted mixed=true
 xs:complexContent mixed=true
 xs:restriction base=MixedType/
 /xs:complexContent
 /xs:complexType
 /xs:schema
 xml file:
 RootElement xmlns:xsi=http://www.w3.org/2001/XMLSchema-instance;
 Childtext/Child 
 ChildExtendedtext1/ChildExtended
 ChildRestrictedtext2/ChildRestricted
 /RootElement
 For XmlSpy, this is valid. Here's what I get when validating with Xmlbeans :
 Message: Element 'ChildRestricted' with empty content type cannot have text 
 or element content.
 Location of invalid XML: xml-fragment 
 xmlns:xsi=http://www.w3.org/2001/XMLSchema-instance/
 I guess this is linked to this issue : 
 http://www.mail-archive.com/dev@xmlbeans.apache.org/msg02004.html

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira

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



[jira] [Commented] (XMLBEANS-428) XmlException Unexpected element: CDATA is thrown when file size is 8k+1byte

2011-05-02 Thread Jerry Sy (JIRA)

[ 
https://issues.apache.org/jira/browse/XMLBEANS-428?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=13027870#comment-13027870
 ] 

Jerry Sy commented on XMLBEANS-428:
---

This problem is fixed in revision 959082
http://svn.apache.org/viewvc?view=revisionrevision=959082

I tested using the schema and xml provided using this code
SchemaTypeSystem sts0 = XmlBeans.compileXsd(new 
XmlObject[]{XmlObject.Factory.parse(new File(test.xsd))},
XmlBeans.getBuiltinTypeSystem(),null);
XmlObject x0 = sts0.parse(new 
File(testf.xml),sts0.findDocumentType(new QName(xmlbean,root)),null);

I see the error using xbean 2.5 jar, but don't see the error anymore if I 
include fix from revision 959082. So this bug can be closed as already fixed.


 XmlException Unexpected element: CDATA is thrown when file size is 8k+1byte
 -

 Key: XMLBEANS-428
 URL: https://issues.apache.org/jira/browse/XMLBEANS-428
 Project: XMLBeans
  Issue Type: Bug
Affects Versions: Version 2.5
Reporter: Volodymyr Bychkoviak
 Attachments: test.tgz


 When xml file is 8193bytes (8k+1) and have CRLF in the end (after closing 
 tag) then exception Unexpected element: CDATA is thrown.
 Maybe it is somehow related to 8k buffer used in XMLReaderReader and 
 XMLStreamReader classes
 reproducible on latest svn revision (r884309)

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira

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