Vadim Gritsenko | 11 May 2007 02:18

[ANNOUNCEMENT] Apache Xindice 1.1 released

The Apache Xindice team is pleased to announce the release of the
next version of the Xindice native XML database:

                 Apache Xindice 1.1

This is the first production quality release in the 1.1 series of
releases and follows four beta releases. Xindice 1.1 includes many
bug fixes and stability improvements over the last beta release.
Complete list of changes can be found here:

  http://xml.apache.org/xindice/changes.html

Xindice now comes in only two forms of distributions - source and
binary, both are compiled with JDK 1.3.1 and available from the
download page:

  http://xml.apache.org/xindice/download.cgi

Users upgrading existing databases from previous Xindice releases
should read migration guide at:

  http://xml.apache.org/xindice/community/upgrading/

Please send your comments and suggestions to the Xindice mailing
lists. Bug reports and patches are accepted via Bugzilla:

  http://issues.apache.org/bugzilla/

Regards,
Vadim
(Continue reading)

JRancier | 18 May 2007 00:40

Error parsing XML document with DOMParser

I'm receiving an XML document over a TCP socket, I then instantiate an 
instance of DOMParser and attempt to parse the data.  Here's the 
exception:

org.xml.sax.SAXParseException: An invalid XML character (Unicode: 0x0) was 
found in markup after the end of the element content.
        at 
org.apache.xerces.framework.XMLParser.reportError(XMLParser.java:1213)
        at 
org.apache.xerces.framework.XMLDocumentScanner.reportFatalXMLError(XMLDocumentScanner.java:588)
        at 
org.apache.xerces.framework.XMLDocumentScanner$TrailingMiscDispatcher.dispatch(XMLDocumentScanner.java:1461)
        at 
org.apache.xerces.framework.XMLDocumentScanner.parseSome(XMLDocumentScanner.java:381)
        at 
org.apache.xerces.framework.XMLParser.parse(XMLParser.java:1098)

Here's the relevant snippet(s) of source (I didn't include the code which 
writes out the socket, but it does):

[code]Socket socket = new Socket( hostIP, hostPort );
OutputStream outStream = socket.getOutputStream();
InputStream inStream = socket.getInputStream();
DataInputStream dataInStream = new DataInputStream( inStream );
byte[] inByteArray  = new byte[ 2048 ];
int length =  dataInStream.read( inByteArray );
InputStream byteData  =  new ByteArrayInputStream( inByteArray );

try 
{
(Continue reading)

David Crossley | 18 May 2007 03:46
Picon
Favicon

Re: Error parsing XML document with DOMParser

You have posted to the general XML list. You would do better
by using the Apache Xerces J users mailing list:
http://xerces.apache.org/ .. i cannot find the mailing list
subscription info for you. Try the usual xerces-j-users-subscribe
at xerces.apache.org

-David

JRancier wrote:
> I'm receiving an XML document over a TCP socket, I then instantiate an 
> instance of DOMParser and attempt to parse the data.  Here's the 
> exception:
> 
> org.xml.sax.SAXParseException: An invalid XML character (Unicode: 0x0) was 
> found in markup after the end of the element content.
>         at 
> org.apache.xerces.framework.XMLParser.reportError(XMLParser.java:1213)
>         at 
> org.apache.xerces.framework.XMLDocumentScanner.reportFatalXMLError(XMLDocumentScanner.java:588)
>         at 
> org.apache.xerces.framework.XMLDocumentScanner$TrailingMiscDispatcher.dispatch(XMLDocumentScanner.java:1461)
>         at 
> org.apache.xerces.framework.XMLDocumentScanner.parseSome(XMLDocumentScanner.java:381)
>         at 
> org.apache.xerces.framework.XMLParser.parse(XMLParser.java:1098)
> 
> Here's the relevant snippet(s) of source (I didn't include the code which 
> writes out the socket, but it does):
> 
> [code]Socket socket = new Socket( hostIP, hostPort );
(Continue reading)

Stylus Studio | 21 May 2007 06:46
Picon

[Announce] Stylus Studio 2007 Release 2 Now Available

[announce] Dear Apache XML Users,

Stylus Studio 2007 Release 2, is now available for free trial download
or online purchase. Here are some of highlights:

* Query Plan: A new query plan utility in the XQuery Editor lets you
visualize query execution plans and gain insight into how DataDirect
XQuery will execute your XQuery application, including seeing the type
of SQL statements that are used to access relational data, when XML
streaming is being used, which temporary tables are being created,
when variables are being called, etc. Query plan support is available
for any XQuery that uses the DataDirect XQuery processor.

* Support for Grouping Data Sources in XML Publisher: In Stylus Studio
2007 XML Enterprise Suite, Release 2, XML Publisher lets you create
more advanced reports through support for grouping data from nodes in
one or more data sources. Using the new Create Relationship Dialog
Box, you visually define relationships between different data sources,
or between different data islands within the same source and then add
those relationships to your XML reports using simple drag-and-drop
functionality. For more information, visit:
http://www.stylusstudio.com/videos/report-generation/xmlpublisher-070504.html

* Support for Gigabyte Size XML Files: Stylus Studio 2007 XML
Enterprise Suite, Release 2 implements new optimizations that permit
the editing of gigabyte-size XML documents.

* Bundled DataDirect XML Converters 3.0: DataDirect XML Converters are
high-performance Java and .NET components that provide bi-directional,
programmatic access to virtually any non-XML file including EDIFACT,
(Continue reading)


Gmane