bugGNU Octave - Bugs: bug #46288, xmlwrite -...

 
 

bug #46288: xmlwrite - "com.mathworks.xml.XMLUtils" object

Submitter:  Ceral Paquet <octavebugs>
Submitted:  Sun 25 Oct 2015 08:13:11 AM UTC
   
 
Category:  None Severity:  3 - Normal
Priority:  5 - Normal Item Group:  None
Status:  Duplicate Assigned to:  None
Originator Name:  Open/Closed:  * Closed
Release:  * 4.0.0 Operating System:  * GNU/Linux
Fixed Release:  None Planned Release:  None
* Mandatory Fields

Add a New Comment Rich Markup
   

Sun 25 Oct 2015 07:33:54 PM UTC, comment #4: 

I am closing this report so that we discuss xmlread/write  and those matlab utilities issue in bug #45951.

Pantxo Diribarne <pantxo>
Group Member
Sun 25 Oct 2015 06:00:19 PM UTC, comment #3: 

Thanks Pantxo. It makes a lot more sense now! xx

Ceral Paquet <octavebugs>
Sun 25 Oct 2015 04:02:30 PM UTC, comment #2: 

I forgot, those Matlab Java classes are IMHO out of the scope of Octave/Matlab compatibility as they are mostly Matlab internals (undocumented).

Pantxo Diribarne <pantxo>
Group Member
Sun 25 Oct 2015 03:33:39 PM UTC, comment #1: 

Hi,

See bug #45951 and patches there in. In the demo of xmlwrite, you'll see how to instantiate a DOM document using Xerces.
The Matlab class you mention doesn't seam to do more than the 2 lines bellow:


## Create a Xerces DOM document object
doc = javaObject ("org.apache.xerces.dom.DocumentImpl");
## Append a root node to the document
doc.appendChild (doc.createElement ("root_element"));


May I close this report and let discussions take place in bug #45951 ?

Pantxo Diribarne <pantxo>
Group Member
Sun 25 Oct 2015 08:13:11 AM UTC, original submission:  

The example on Matlab's website for xmlwrite givn here:

http://fr.mathworks.com/help/matlab/ref/xmlwrite.html

contains the following line.

docNode = com.mathworks.xml.XMLUtils.createDocument('root_element')

I have no idea what this is! Nevertheless it "works" in Matlab but not in Octave. Unfortunately I have been given a script that uses this construct so I suppose it is missing functionality?!

Ceral Paquet <octavebugs>

 

(Note: upload size limit is set to 16384 kB, after insertion of the required escape characters.)

Attach Files:
   
   
Comment:
   

No files currently attached

 

Depends on the following items: None found

Items that depend on this one: None found

 

Carbon-Copy List
  • -email is unavailable- added by pantxo (Posted a comment)
  • -email is unavailable- added by octavebugs (Submitted the item)
  •  

    There are 0 votes so far. Votes easily highlight which items people would like to see resolved in priority, independently of the priority of the item set by tracker managers.

    Only group members can vote.

     

    Follow 2 latest changes.

    Date Changed by Updated Field Previous Value => Replaced by
    2015-10-25 pantxo StatusNone Duplicate
        Open/ClosedOpen Closed

    Back to the top

    Powered by Savane 3.13-caa5.
    Corresponding source code